Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ABS() coding assistance???
Message
De
24/08/2001 02:45:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/08/2001 00:10:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00548379
Message ID:
00548503
Vues:
7
>>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"))
>>

>
>Boy, it took me a whole test form to see what was wrong. Note the missing parenthesis.

Hey man I thought you were the first to drop those .T. :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform