Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXECCommands with parameters
Message
From
13/12/2000 02:11:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
SQLEXECCommands with parameters
Miscellaneous
Thread ID:
00452765
Message ID:
00452765
Views:
77
Hi,

Is it possible to pass a var by reference in an sqlcommand to get the results of a sqlcommand?

That is, I know its possible to do the following from fox:

SQLEXEC( lnHandle, "SELECT * FROM Customer WHERE Id = ?lnId", "Results") where lnId is a fox var, but is it also possible to do something like the following...

SQLEXEC( lnHandle, "SELECT ?lnCount = COUNT(1) FROM Customer")
where UDFPARMS are set to reference

Can anyone let me know the correct syntax?

Thanks

Mace
Next
Reply
Map
View

Click here to load this message in the networking platform