When opeing and closing a DAO recordset a few times i get the following error message:
I've been google and forum investigating all day. The only thing i have found is information on Microsofts support site regarding a bug but it seems to only mention ADO recordsets.
The Microsoft support site webpage is here and a workaround is here
However when i use this workaround, which states to close the Recordsets's active connections by using ActiveConnectio n = Nothing I get the following error:
A simplised version of the code i'm using is:
Is the problem i'm having with "too many transactions already nested" a bug in ms access? If so is the workaround i'm using correct or is there a different syntax for DAO recordsets?
Any help would be great, thanks.
Run-time error '3003';
Could not start transaction; too many transactions already nested.
Could not start transaction; too many transactions already nested.
The Microsoft support site webpage is here and a workaround is here
However when i use this workaround, which states to close the Recordsets's active connections by using ActiveConnectio n = Nothing I get the following error:
Run-time error '438';
Object doesn't support this property or methord
Object doesn't support this property or methord
Code:
Dim ChargeRateRecordSet As DAO.Recordset Set ChargeRatesRecordSet = CurrentDb.OpenRecordset("Select * FROM ChargeRates ") ChargeRatesRecordSet.ActiveConnection = Nothing ChargeRatesRecordSet.Close
Any help would be great, thanks.
Comment