Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare to 0 (zero)
Message
From
09/10/2018 01:37:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01662504
Message ID:
01662508
Views:
46
>Hi,
>
>I have an expression that compares if a value in a table/cursor field is equal to 0 (zero). The field is of type numeric with two decimals (e.g. 3.44, 0.00, 1.01)
>
>Which syntax is more reliable to use:
>
>cursor.field = 0 or <another expression>
>
>or
>
>cursor.field = 0.00 or <another expression>
>
>
>TIA

You can also use Empty(yourfield)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform