Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF() code - function argument value, type or count invalid
Message
From
31/08/2005 10:48:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
IIF() code - function argument value, type or count invalid
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01045499
Message ID:
01045499
Views:
75
I am trying to build a controlsource for a checkbox that will work with two different possible sets of tables.
IIF([type(empdrvr.callboard) = "L"], empdrvr.callboard, IIF([empdrvr.callboard = 1], .T., .F.))
In one set, the empdrvr.callboard is a logical datatype, in the other set, empdrvr.callboard is a numeric N(1,0).

Can anyone see where I have typed something wrong, before I do. I know it is going to be something simple that I am missing.

TIA
Beth
Next
Reply
Map
View

Click here to load this message in the networking platform