Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculation
Message
De
01/06/1999 03:36:04
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Calculation
Divers
Thread ID:
00224806
Message ID:
00224806
Vues:
35
Hi All,

I have tried to calculate a calculation but I not very sure where I should place the format. I want the TA appeal in txtAmount.Text when the Form Load and GT do the calculation after key in ST.

eg:
I have this:

UP = txtUnitPrice.Text
QT = txtQty.Text
TA = txtAmount.Text
ST = txtSalesTax.Text
GT = txtGrandTotal.Text

TA = QT * UP
and
if ST have value then
GT = TA + ST
Else
GT = TA

What should I do when I face this problem??
Thank you.

Annie
Répondre
Fil
Voir

Click here to load this message in the networking platform