Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Relation Command
Message
De
28/07/2004 07:40:57
 
 
À
30/06/2004 23:43:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00914271
Message ID:
00928645
Vues:
33
Good Day Sir,

I need help on creating an 'iif()' expression on my FILTER condition on one of my remote views (using SQL 2000 as database) and VFP8 as IDE.

Heres my code SQL Code on the VFP Designer:

&& --------------------------------------------
WHERE Tblcalls.caseno = ( ?pvcaseno );
AND IIF(?pvpatno=0,Tblcalls.patno>0,Tblcalls.patno=?pvpatno)
&& --------------------------------------------

When I execute this query the it returns a line of:
Incorrect systax near '='

I hope you can help out on this, thank you.

Marlon Estrelon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform