Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ABS() coding assistance???
Message
From
23/08/2001 18:51:38
N. Lea
Nic Cross Enterprises
Valencia, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ABS() coding assistance???
Miscellaneous
Thread ID:
00548379
Message ID:
00548379
Views:
33
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")

Next
Reply
Map
View

Click here to load this message in the networking platform