I am attempting to export several SQL Server tables to txt or CSV files using VFP's COPY TO command. Most of them work, but there are a few that instead of writing the data present in the table, it writes a blank line for each record. I'm using SQLEXEC to put the SQL data into a cursor, and then doing the COPY TO after selecting the cursor. One other thing: I'm using Visual Fox Express, but the code is strictly VFP. Ideas, anyone?
TIA,
MMund
TIA,
MMund