Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21243

how to calculate tax like % betweeen 3 text files

$
0
0
hey

this is a liitle bit hard(for me)

im trying to calculate a txt between 3 textboxes
Code:

1) text is txt(2).txt ( RS!InvBeforetax  this is currency value in the DB)  this is when i put a number like 120 or what ever
Code:

2 )text is txt(10).txt ( RS!InvTax this is currency value in the DB ) this is when i put the tax value like 16 17 18  but this i need like (1.16 1.17 1.18)
Code:

3) text is txt(11).txt ( RS!InvAfterTax this is currency value in the DB) this needs to calculate automaticly InvBeforetax  + InvTax
Code:

E.X - txt(2).txt = 120 x txt(10) -(lets say 1.18%) = 141.6

 Result (120 X 1.18% = 141.6) txt(11).txt is the result 141.6


i hope i explained my self correctly.

Viewing all articles
Browse latest Browse all 21243

Trending Articles