Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for ***********************
Message
 
 
To
09/07/2000 21:21:53
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00389944
Message ID:
00390130
Views:
10
Yes. Your solution does work. I do the same thing in my apps.

>Jerry,
>
>Here's the statement I used:
>IIF(Denominator = 0, Alternamtive, Numerator/Denominator)
>
>I'm confused - doesn't the above statement check for a zero denominator before the division, and not allow it to take place if the denominator is zero?
>
>
>>Cindy used the Immediate IF function. Another way is to check BEFORE the
>>division using an IF statement.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform