I started to develop an application in Access 97 but have been
finishing it up in A2K. The code that I used in the 97 version worked
fine but I get a runtime 2486 error now in the 2000 version using the
same code. It appears to me that running the append query is what
causes the problem. I don't have a problem running the update query.
DoCmd.OpenQuery "MyUpdateQuery", acViewNormal, acEdit
DoCmd.OpenQuery "MyAppendQuery", acViewNormal, acEdit
DoCmd.Close acForm, "MyOpenForm"
When I looked this up on Google before someone had suggested using
DoEvents between the action queries but that didn't work.
The append query adds a record to a linked table (ODBC). The update
query is for a linked table (ODBC) also.
Any ideas?
Thanks for any help in advance...