FoxProProgrammer
Programmer
Hi!
I developed a database in Access 2003 SP2. The application works fine on my development computer. I used the Access Database Splitter (Tools\Database Utilities\Database Splitter) to separate the tables from the application. The tables are stored on our corporate network drive and the application will be stored on each user's computer. After I split the database, an error occurs in the Click procedure of a listbox. The code is:
The line that causes the error is:
Set recset = db.OpenRecordset("tbl_temp", dbOpenTable)
The error is:
Run-time error '3219'
Invalid operation.
I don't know if the error is related to the split of the database or something else. The only that I can think of is dbOpenTable won't work on a table stored on a remote drive. Any ideas?
Thanks!
dz
I developed a database in Access 2003 SP2. The application works fine on my development computer. I used the Access Database Splitter (Tools\Database Utilities\Database Splitter) to separate the tables from the application. The tables are stored on our corporate network drive and the application will be stored on each user's computer. After I split the database, an error occurs in the Click procedure of a listbox. The code is:
Code:
Dim row As Integer
Dim db As dao.Database
Dim recset As dao.Recordset
Set db = CurrentDb
Set recset = db.OpenRecordset("tbl_temp", dbOpenTable)
The line that causes the error is:
Set recset = db.OpenRecordset("tbl_temp", dbOpenTable)
The error is:
Run-time error '3219'
Invalid operation.
I don't know if the error is related to the split of the database or something else. The only that I can think of is dbOpenTable won't work on a table stored on a remote drive. Any ideas?
Thanks!
dz