Good morning!
I'm working on a Visual Foxpro (VFP) program which, given a target FoxPro
table, will create or recreate a new table in SQL Server. Given that I have
literally hundreds of occasionally-changing FP tables to migrate over and
refresh, I had to tackle something like this!
Anyhow, this is SQL Server 6.5, SP4, client is an NT Workstation (4.0,SP3).
VFP 5.0, Visual Studio service packs applied...
?SQLConnect( 'SQLSRV: Adm_DB', 'sa', '<password>' ) returns a >0 connection
handle, indicating success against this system dsn.
?SQLTables( handle, 'TABLES' ) returns 1, indicating completion and success.
Yet, the VFP cursor (defaults to SQLRESULTS) is always empty. Has the
columns it should, it's just always empty.
Created a system dsn to pubs, then tested the sql calls above -- results
exactly the same!!!
Any suggestions from any of you will be heartily appreciated.
Bill Blackman