Windows XP doesn't have VFP ODBC driver installed. You can download it from
http://msdn.microsoft.com/vfoxpro/downloads/addons/odbc.asp.
>lcConnStrAUSD="DRIVER={Microsoft Visual FoxPro Driver};" + ;
>"SourceDB=C:\Projects\mydata.dbc;SourceType=DBC;UID=;PWD=;"
>
>lnHandle=SQLSTRINGCONNECT(lcConnStrAUSD)
>
>lnHandle gives me -1 (no connection to database) after I moved my files into my new computer (Windows XP). It used to work fine on my Windows 98 computer. What could be wrong?
>
>Thank you all!!!
--sb--