Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing Comma Error Message - Help Spot my Flaw
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00679098
Message ID:
00679106
Vues:
25
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform