Board index » delphi » Indexfieldnames and SQLORA8.DLL AV
freddie bell
Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Indexfieldnames and SQLORA8.DLL AV
An access violation in SQLORA8.DLL occurs consistently when calling
TTable.Close under the following conditions: 1. The "table" specified by the TableName property is an Oracle VIEW. Platform/driver info for which this AV has been recorded: Oracle 8.0.3 and Oracle 8i (8.1.5) for Netware 5. The following steps may be taken to reproduce this error: 1. Run the following commands on the Oracle8 server: create table table1 (a varchar2(1)); 2. Create a BDE alias "ORACLE1" using the native driver with settings as indicated above. 3. Run the following program; log on as the user that ran the above program Project1; Tracing into the Close statement reveals that the exception is raised in procedure TBDEDataSet.DestroyHandle, in the call to DbiRelRecordLock. The workaround is to set IndexFieldNames to a valid value other than '' if not DataSet.Active then This particular implementation of the workaround obviously requires the Freddie Bell and Mark Jacobson (ma...@iafrica.com) |