sqleptical
Programmer
I've recently switched from using VFP tables to SQL 2005. I am now looking for a way to point my VFP 7.0 .prgs to the SQL tables instead of FoxPro.
For FoxPro, I simply pointed using the following command:
use "L:\tables\cif2.dbf" share
What do I need to replace this with to have the .prg read from a SQL 2005 query? Is there any other code I need to use to close the connection that I did not need with FoxPro?
Currently I am having to export the tables from SQL to FoxPro in order to run them, but would like to avoid these extra steps. I looked through FAQs & other topics which gave me some ideas, but nothing that has worked. Thank you!
For FoxPro, I simply pointed using the following command:
use "L:\tables\cif2.dbf" share
What do I need to replace this with to have the .prg read from a SQL 2005 query? Is there any other code I need to use to close the connection that I did not need with FoxPro?
Currently I am having to export the tables from SQL to FoxPro in order to run them, but would like to avoid these extra steps. I looked through FAQs & other topics which gave me some ideas, but nothing that has worked. Thank you!