S
ScottB
I created a test database with one small table and one
form. The form has one button on it that activates the
following event (copied in part):
Private Sub Command0_Click()
Dim curdb As DAO.Database
Dim rst As DAO.Recordset
Dim nm as String
Set curdb = CurrentDB
Set rst = curdb.OpenRecordset ("Table1", dbOpenTable)
With rst
....
The form, in fact works fine "until" I used the Database
Splitter to separate it into front and back ends. Then,
when I try to use the same form it gives me an Illegal
Operation error (3219) and crashes on the line reading
Set rst = curdb.OpenRecordset ("Table1", dbOpenTable)
I suspect this may have to do with something in the
reference library but am a bit lost at this stage. Any
sage words of advice would be appreciated. Scott
form. The form has one button on it that activates the
following event (copied in part):
Private Sub Command0_Click()
Dim curdb As DAO.Database
Dim rst As DAO.Recordset
Dim nm as String
Set curdb = CurrentDB
Set rst = curdb.OpenRecordset ("Table1", dbOpenTable)
With rst
....
The form, in fact works fine "until" I used the Database
Splitter to separate it into front and back ends. Then,
when I try to use the same form it gives me an Illegal
Operation error (3219) and crashes on the line reading
Set rst = curdb.OpenRecordset ("Table1", dbOpenTable)
I suspect this may have to do with something in the
reference library but am a bit lost at this stage. Any
sage words of advice would be appreciated. Scott