P
Pieter
I have an Access 97 program converted to Access 2002. While running a
specific part of the program I received the error "user-defined type not
defined" on the Dim command.
Private Sub Form_Load()
DoCmd.Maximize
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("Testlog")
If rst.BOF = False Then
Me.Tester = rst![Tester]
Me.Tester.Requery
Me.Witness = rst![Witness]
Me.Witness.Requery
Me.Observer = rst![Observer]
Me.Observer.Requery
End If
DoCmd.OpenForm "Prerequisite"
End Sub
Under Tools, References the following is already set:
Visual Basic For Apllications
Microsoft Access 10.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library
Microsoft Visual Basic for Applications Extensibility 5.3
specific part of the program I received the error "user-defined type not
defined" on the Dim command.
Private Sub Form_Load()
DoCmd.Maximize
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("Testlog")
If rst.BOF = False Then
Me.Tester = rst![Tester]
Me.Tester.Requery
Me.Witness = rst![Witness]
Me.Witness.Requery
Me.Observer = rst![Observer]
Me.Observer.Requery
End If
DoCmd.OpenForm "Prerequisite"
End Sub
Under Tools, References the following is already set:
Visual Basic For Apllications
Microsoft Access 10.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library
Microsoft Visual Basic for Applications Extensibility 5.3