Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a conditional 'where' clause
Message
 
To
03/06/1999 16:11:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00226172
Message ID:
00226315
Views:
25
>I tried this, but when gcfunction = "", I get an empty result set instead of all records. Am I doing something wrong here? The sql from my view is:
>
>
SELECT *;
> FROM dbo.P1 P1;
> WHERE P1.P1_FUNCKEY = ?gcfunction
Valerie,

Check your SET EXACT and SET ANSI settings and be sure they are both OFF.
Previous
Reply
Map
View

Click here to load this message in the networking platform