Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF() expression via remote view
Message
De
28/07/2004 07:28:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
IIF() expression via remote view
Divers
Thread ID:
00928643
Message ID:
00928643
Vues:
45
Good Day to everyone, 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 someone can help out on this, thank you.

Marlon Estrelon
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform