Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do view like this in SQL 7
Message
From
03/08/1999 10:21:42
 
 
To
03/08/1999 10:04:29
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00249203
Message ID:
00249220
Views:
17
>In VFP - I have lot's of local views along the line of:
>
> "Select foo from mtable where &cWhere".
>

You can't implement anything like that using a SQL Server view. The best way to get that type of functionality is using SPT.

r = SQLEXEC(hConn, [Select foo from mtable where ] + cWhere, 'result set')

Which will work fine. If you want the user to be able to update, you'll have to do a little more work but you'll still get the flexibility that you're looking for.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform