* Make sure you've set up a working ODBC connection under * SYSTEM.DSN * I try to read the ODBC connection from an ini file lcIniFile = 'MyInit.ini' lcSection = 'SomeSection' lcReadString= 'MyOdbcConnectionName' gcServerDB = oApplicationInit.ReadIniFile(lcIniFile, lcSection, lcReadString) IF EMPTY(gcServerDB) * Log and close down ENDIF lnSql = SQLCONNECT(gcServerDB,.T.) Open Database "Data\MyDb.dbc" Shared Set Database To MyDb * Form load Use MyView Connstring lnSql In 0 NoData && Remote view * Form activate Requery('MyView')HTH