We have a SQL server and use FoxPro access by having the driver created in:
Control Panel
ODBC
(Very easily set up)
Then in VFP:
?sqlconnect('servername')
?sqlexec('handle,"select * from database name")
Then once you are "done" with the server, you can disconnect...
Your sub-select table does not have to have only ONE field in it, but you DO have to specify WHICH field you want to select as Marsh explained.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.