Basically im an amature at this stuff as ive just started, and teacher thinks we are all young Bill Gates.
I have a main form of Examiner Details and a subform with other details. I want 1 thing in the subform to be the same as in the main form, if not displaying a message. So im not sure how to set this out... I gave this a go
Private Sub ScriptID_LostFo cus()
'ScriptID must equal SubRefcode2'
If ([ScriptID] <> [SubRefCode2]) Then
MsgBox "Script ID wrong"
End If
End Sub
---------------
But nothing happens.... do i need to state the location of the fields, if so could you please post how i will succeed in doing this..
Thankyou
I have a main form of Examiner Details and a subform with other details. I want 1 thing in the subform to be the same as in the main form, if not displaying a message. So im not sure how to set this out... I gave this a go
Private Sub ScriptID_LostFo cus()
'ScriptID must equal SubRefcode2'
If ([ScriptID] <> [SubRefCode2]) Then
MsgBox "Script ID wrong"
End If
End Sub
---------------
But nothing happens.... do i need to state the location of the fields, if so could you please post how i will succeed in doing this..
Thankyou
Comment