Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF() error
Message
From
15/06/1999 16:17:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
IIF() error
Miscellaneous
Thread ID:
00230164
Message ID:
00230164
Views:
62
What is wrong with my code??

*** Variables:
mswhere1 = ''
mswhere2 = ''
director = "'Brady'"

mswhere3 = iif(len(allt(director)) = 0,; mswhere2,iif(allt(len(mswhere2)) = 0, director,;
mswhere2 + ' and ' + director))

*******
I got the error 'Function argument value, type, or count is invalid'

Thanks a lot.
Next
Reply
Map
View

Click here to load this message in the networking platform