Error 3219 Invalid Operation

On my app I am getting the error '3219 Invalid Operation' after splitting the DataBase. I have checked and it is on the statement opening a record set as per the following screen shots:

If I directly open the table, then it opens and allows all inputs and edits.

Can anyone help?
João serras-pereiraAsked:
Who is Participating?
Dale FyeConnect With a Mentor Commented:
You cannot use the dbOpenTable option for a linked table, at least not when referring to it using currentdb, change the type to dbOpenDynaset.

Either that, or change your db definition like:

set db = dbengine.opendatabase("BackEndPathAndFilename.accdb")
João serras-pereiraAuthor Commented:
Ah! Thanks (and I think that this hint is going to solve another issue on my previous app that you also helped... will let you know)
João serras-pereiraAuthor Commented:
Thanks! works perfectly
Dale FyeCommented:
you are welcome
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.