search for: openrecordset

Displaying 1 result from an estimated 1 matches for "openrecordset".

2006 Jun 20
1
DAO 3.5 and OLEAUT32.DLL troubles...
...ng:= OpDAO35.CreateEngine; // Crea il DBEngine, e passa internamente la licenza daodb:= daodbeng.OpenDatabase(ChangeFileExt(Application.ExeName, '.mdb'), false, false, ''); // This works under Windows, fails under Wine woth builtin oleaut32.dll: daors:= daodb.OpenRecordset('SELECT Format(#1/1/2000#, "yyyy", 2) FROM TConfig', dbOpenDynaset, _, _); // This always works: //daors:= daodb.OpenRecordset('SELECT * FROM TConfig', dbOpenDynaset, _, _); daors.Free; daodb.Free; daodbeng.Free; ShowMessage...