DAO SDK
-
Hi, i have following problem, i have application which is linked with ddao35.lib (ddao35.dll) (change table properties, like validation rule)this was org. built for a access 97 database. now i like to update my application for usage access 2000 together with access 97 so with SP 5 for visual studio 6.0 a project (ddao.cpp) was shipped, new dll ddao36.lib (ddao36.dll) could be built now i linked my application with ddao36.lib and everything goes well for a access 2000 database, but for access97 database is code still running but after opening the database in access97 i see that some modifications are not done a function like this, won't work for access 97 (running without errors) void ChangeTableValidation(CString strDBFileName, CString strTableName, CString strFieldName, CString strValidation) { CdbDBEngine dbEngine; CdbDatabase dbDatabase = dbEngine.OpenDatabase(strDBFileName, FALSE); CdbTableDef dbTableDef = dbDatabase[strTableName]; CdbField dbField = dbTableDef[strFieldName]; dbField.SetValidationRule(strValidation); } perhaps has somebody any idea about this, :confused: Dan O