Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ABS() coding assistance???
Message
From
24/08/2001 02:45:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/08/2001 00:10:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00548379
Message ID:
00548503
Views:
16
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform