Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing Comma Error Message - Help Spot my Flaw
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00679098
Message ID:
00679106
Views:
26
Ypu don't have the third parameter for the second IIF()
IIF(ISNULL(curFinalInv.PrimeDesc), ALLTRIM(curFinalInv.ManualDesc), ;
	IIF(glLocalDesc, ;
	IIF(EMPTY(curFinalInv.LocalDesc), ALLTRIM(curFinalInv.PrimeDesc), ;
				ALLTRIM(curFinalInv.LocalDesc)), "?"))
>Ok, really have more than one flaw, but in this case, I can't seem to figure out what I'm doing wrong. The following line of code give me an error message saying:
>
>Missing comma (,).
>

>? IIF(ISNULL(curFinalInv.PrimeDesc),ALLTRIM(curFinalInv.ManualDesc),IIF(glLocalDesc,IIF(EMPTY(curFinalInv.LocalDesc),ALLTRIM(curFinalInv.PrimeDesc),ALLTRIM(curFinalInv.LocalDesc))))
>
>Thanks for any help
>Kirk
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform