G
Guest
In table, i have a table name call "talbe1" and one of the field is called
"lot"
Now in form, i got a form name call "form1", i am writing in program as below:
Option Compare Database
Option Explicit
Private Sub lot_AfterUpdate()
If table1.lot = Me.lot Then
MsgBox "Hi"
End If
The result prompt me "table1" has to declare!
how can i solve this problem? Do i need to do something in form before
search a data from table in form? thank you very much
End Sub
"lot"
Now in form, i got a form name call "form1", i am writing in program as below:
Option Compare Database
Option Explicit
Private Sub lot_AfterUpdate()
If table1.lot = Me.lot Then
MsgBox "Hi"
End If
The result prompt me "table1" has to declare!
how can i solve this problem? Do i need to do something in form before
search a data from table in form? thank you very much
End Sub