I thought this would be easy but I Just dont get whats wrong.
I have a form wich has three text boxes
keyword
SID
searchphrase
all i want to do is when i load the form i want to check if there is a value is searchphrase ifnot then the value will be same as keyword.
Ive tried this and a few things like this but i just dont know enough to see the errors.
Private Sub SID_BeforeUpdate(Cancel As Integer)
If Me.searchphrase = "" Then
Me.SID = Me.keyword
End If
End Sub
Any help would be appreciated
Grant
I have a form wich has three text boxes
keyword
SID
searchphrase
all i want to do is when i load the form i want to check if there is a value is searchphrase ifnot then the value will be same as keyword.
Ive tried this and a few things like this but i just dont know enough to see the errors.
Private Sub SID_BeforeUpdate(Cancel As Integer)
If Me.searchphrase = "" Then
Me.SID = Me.keyword
End If
End Sub
Any help would be appreciated
Grant