>*-- But, here is a problem. lnTableCount Returns -1 >lnTableCount = SQLTABLES(lnConn, 'TABLE', "_tablelist") > >*-- AERROR RETURNS: >*-- [1] 1526 >*-- [2] "Connectivity error: [Microsoft][ODBC Visual FoxPro Driver]Function sequence error" >*-- [3] "[Microsoft][ODBC Visual FoxPro Driver]Function sequence error" >*-- [4] S1010 >*-- [5] 0 >*-- [6] 1 >*-- [7] .NULL. > >lnData = SQLEXEC(lnConn, "SELECT * FROM TEST1", "_TESTDBF1") >*-- AERROR RETURNS: >*-- [1] 1526 >*-- [2] "Connectivity error: [Microsoft][ODBC Visual FoxPro Driver]Invalid file descriptor." >*-- [3] "[Microsoft][ODBC Visual FoxPro Driver]Invalid file descriptor." >*-- [4] S1000 >*-- [5] 111 >*-- [6] 1 >*-- [7] .NULL. >>