P
Plateriot
I get 'Operation Not available for this object'
when I try these lines:
Public cnMain As New ADODB.Connection
' fails here ----> Set cnMain = CurrentDb.Connection
'my intent is to do transactions that I normally would with this line
Set cnMain = CurrentProject.connection (in an ADP)
..
..
..
cnMain.BeginTrans
Can I do ADO Transactions with MDB's? (linked or otherwise?)
I know many arguments can be made about ADO and DAO, but we eventually plan
to upgrade to SQL Server and it would be nice not to have to re-write the
code.
when I try these lines:
Public cnMain As New ADODB.Connection
' fails here ----> Set cnMain = CurrentDb.Connection
'my intent is to do transactions that I normally would with this line
Set cnMain = CurrentProject.connection (in an ADP)
..
..
..
cnMain.BeginTrans
Can I do ADO Transactions with MDB's? (linked or otherwise?)
I know many arguments can be made about ADO and DAO, but we eventually plan
to upgrade to SQL Server and it would be nice not to have to re-write the
code.