I found some coding in another version of Access. I coverted it to ms2000. when I imported the files and try to run the code, I get an error message which is:
compiled error:
user defined type not defined.
in the following code "dbs As Database" is highlighted.
Private Sub cboTable_AfterUpdate()
On Error GoTo Err_cboTable_AfterUpdate
Dim dbs As Database, tdf As TableDef
Dim fld As Field, rst As Recordset
Dim tbl As String
When I coverted the file and run the code from the converted file everything is fine. Why does it not work in my database?
I have experienced this before and could never figure it out.
I need a little help.
thanks
steve
compiled error:
user defined type not defined.
in the following code "dbs As Database" is highlighted.
Private Sub cboTable_AfterUpdate()
On Error GoTo Err_cboTable_AfterUpdate
Dim dbs As Database, tdf As TableDef
Dim fld As Field, rst As Recordset
Dim tbl As String
When I coverted the file and run the code from the converted file everything is fine. Why does it not work in my database?
I have experienced this before and could never figure it out.
I need a little help.
thanks
steve