Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Relation Command
Message
From
28/07/2004 07:40:57
 
 
To
30/06/2004 23:43:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00914271
Message ID:
00928645
Views:
34
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform