Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF() expression via remote view
Message
From
28/07/2004 07:28:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
IIF() expression via remote view
Miscellaneous
Thread ID:
00928643
Message ID:
00928643
Views:
46
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
Next
Reply
Map
View

Click here to load this message in the networking platform