>I am using the following code to retrieve data into VFP from SQL Server 7.0:
>= SQLEXEC(gnConnHandle, lcQuery, "query1")
>---------------------------------------------------------
>The result is a CURSOR called query1. My ultimate goal is to export the data to a text file.
With the cursor created by the SQLEXEC function, you can use the EXPORT command. You don't need to pass through ADO for this.
Sylvain Demers