I can create a new user DSN using the SQLConfigDataSource command, but what do I change to create a system DSN?
DECLARE Integer SQLConfigDataSource in odbccp32.dll Integer, ;
Integer, String, String
settings="DSN=testing"+chr(0)+;
"Description=VFP ODBC Driver"+chr(0)+;
"SourceDB=v:\tmwinabs\abs\data\contacts.DBC"+chr(0)+;
"SourceType=DBC"
=SQLConfigDataSource(0,1,"Microsoft Visual FoxPro Driver",settings)
Thanks,
Anthony
DECLARE Integer SQLConfigDataSource in odbccp32.dll Integer, ;
Integer, String, String
settings="DSN=testing"+chr(0)+;
"Description=VFP ODBC Driver"+chr(0)+;
"SourceDB=v:\tmwinabs\abs\data\contacts.DBC"+chr(0)+;
"SourceType=DBC"
=SQLConfigDataSource(0,1,"Microsoft Visual FoxPro Driver",settings)
Thanks,
Anthony