Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ABS() coding assistance???
Message
De
23/08/2001 18:51:38
N. Lea
Nic Cross Enterprises
Valencia, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ABS() coding assistance???
Divers
Thread ID:
00548379
Message ID:
00548379
Vues:
30
I have a grid that has two check fields and a total (numeric) field. There is a process for the check fields, if they are check, to add either a bracket or a <> to the amount field. However, I also need the grid to show the ABS() value of the amount instead of the actual values with negatives in front. I added it to the following code below for the Dynamic InputMask - however it did not work. Would anyone know how I could make the grid reflect an ABS value for the total field with the checkbox code still working?

Thanks!


IIF(report1.credit_chk=.T., "<99999999.99>",IIF(report1.debit_chk=.T.,"[99999999999.99]","99999999.99")

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform