Hi there...
I got a situation and something is wrong. I dont know the problem is with the code or what.
there is a text box which is for typing id in it, and a button to go to the record of that id, and I wanted to input a condition like this:
sub CmdGotoID_Click ()
If TxtBoxID.Value = Me.ID then
msgbox "You are in this page already!"
End If
End Sub
but nothing happens when the condition is true in the form and I press the button.
I got a situation and something is wrong. I dont know the problem is with the code or what.
there is a text box which is for typing id in it, and a button to go to the record of that id, and I wanted to input a condition like this:
sub CmdGotoID_Click ()
If TxtBoxID.Value = Me.ID then
msgbox "You are in this page already!"
End If
End Sub
but nothing happens when the condition is true in the form and I press the button.