I donot understand this error message I'm simply calling a procedure and it blowing up when it tries to enter the procedure. Can someone help?? I'm getting user defined type not defined:
Here is the calling procedure:
Private Sub
'Maximize the windows
Me.WindowState = 2
If enter = True Then
CheckSerial <-----------------this is what I'm calling
enter = False
Delay = 0
End If
lblPart_code.Visible = True
txtpart.Text = ""
txtpart.Visible = True
End sub
THEN:::::
Called Procedure::::
Private Sub CheckSerial() <--------
Dim dtSerial As Table
Dim dtid As Table
Set dbase2 = OpenDatabase("C:\tagging\Tag.MDB")
Set mssdb = OpenDatabase("C:\tagging\MSS.MDB")
Set dtSerial = mssdb.OpenTable("Serial")
Set dtid = dbase2.OpenTable("idcode")
dtSerial.MoveFirst
dtid.MoveFirst
![[banghead] [banghead] [banghead]](/data/assets/smilies/banghead.gif)
Here is the calling procedure:
Private Sub
'Maximize the windows
Me.WindowState = 2
If enter = True Then
CheckSerial <-----------------this is what I'm calling
enter = False
Delay = 0
End If
lblPart_code.Visible = True
txtpart.Text = ""
txtpart.Visible = True
End sub
THEN:::::
Called Procedure::::
Private Sub CheckSerial() <--------
Dim dtSerial As Table
Dim dtid As Table
Set dbase2 = OpenDatabase("C:\tagging\Tag.MDB")
Set mssdb = OpenDatabase("C:\tagging\MSS.MDB")
Set dtSerial = mssdb.OpenTable("Serial")
Set dtid = dbase2.OpenTable("idcode")
dtSerial.MoveFirst
dtid.MoveFirst
![[banghead] [banghead] [banghead]](/data/assets/smilies/banghead.gif)