K
KBDB
I am changing a form in an Access 2000 database that was downloaded from the
Microsoft web site. I have converted it to Access 2007.
I am writing VBA code to support my changes to this form.
This is the beginning of the code for an action button:
Option Compare Database
Option Explicit
Private Sub Command61_Click()
Dim dbs As Database
Dim rst As Recordset
Dim ok As Boolean
On Error GoTo Errorhandle1
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("Current Issues", dbOpenDynaset)
...... I get the error 13 when I hit this last statement. Current Issues is
my table.
I have used this fuction so many times that I am really stumped on this one.
Could there be a hidden module that might effect this?
Any ideals you may have would be very helpful.
Thank you,
Kathleen
Microsoft web site. I have converted it to Access 2007.
I am writing VBA code to support my changes to this form.
This is the beginning of the code for an action button:
Option Compare Database
Option Explicit
Private Sub Command61_Click()
Dim dbs As Database
Dim rst As Recordset
Dim ok As Boolean
On Error GoTo Errorhandle1
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("Current Issues", dbOpenDynaset)
...... I get the error 13 when I hit this last statement. Current Issues is
my table.
I have used this fuction so many times that I am really stumped on this one.
Could there be a hidden module that might effect this?
Any ideals you may have would be very helpful.
Thank you,
Kathleen