Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExec to return empty record
Message
From
19/03/2003 08:34:30
 
 
To
19/03/2003 02:37:20
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00767402
Message ID:
00767476
Views:
8
Another option is to use SET FMTONLY ON before running your query. Only the format of the result set will be returned. The query will not be processed.

-Mike

>I would like to use SQLExec() to return empty record. In VFP, I would simply do:
>
>
>SELECT * FROM News WHERE .F.
>
>
>but, from VFP, to query from a SQL Server table, doing this:
>
>
>SQLExec(lnHandle,'select * from dbo.News where .f.')
>
>
>returns all the records. What is the proper syntax to use?
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform