Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF
Message
From
02/04/2001 16:47:23
 
 
To
02/04/2001 16:15:22
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: IIF
Miscellaneous
Thread ID:
00491068
Message ID:
00491090
Views:
9
Hi Chuck, the function will not do what you want, 'cause the value you wanna asign to the variable is given by the function, the code should be like this:

WRONG: IIF(org.delegated,m.delegated='Y',m.delegated='N')

OK: m.delegatd=iif(org.delegated="Y","Y","N")

Try this.

Raúl O. Godoy
Salta - Argentina
Raúl Oscar Godoy
as_rgodoy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform