Split MDB error 3219

94Sport5sp

Registered User.
Local time
Today, 07:55
Joined
May 23, 2012
Messages
115
Hi:

Following the suggestion on a previous thread I split my database into a FE and BE to simplify the upgrading of the clients copy. I had a chance to implement that change today and except for this error all seems to be well.

The error is "Invalid Operation 3219 " and flags this line of code "Set rsTable = dbsCurent.OpenRecordSet("Import650tbl, dbOpenTable, dbAppendOnly) " when the error is triggered. The table Import650tbl is a temporary holding table to which I enter imported records. I then add some supporting information and then the records are added to live data table for further processing. After the data is added to the live table the information in the Import650tbl is deleted by a query to be ready for tomorrows processing.

This error prevents the process from working. I got around the problem by deleting the link to the BE for this table and creating the table in the FE. After that all was well.

Question: Why does the above OpenRecordSet fail on the linked table?

Thanks
 
Taken from Access helpfiles:

When creating a Recordset object using a non-linked TableDef object in a Microsoft Access workspace, table-type Recordset objects are created. Only dynaset-type or snapshot-type Recordset objects can be created with linked tables or tables in Microsoft Access database engine-connected ODBC databases.

so:

Code:
Set rsTable = dbsCurent.OpenRecordSet("Import650tbl, [B]dbOpenDynaset[/B], dbAppendOnly)

JR
 

Users who are viewing this thread

Back
Top Bottom