Reference Field

  • Thread starter Thread starter Stephen Lynch
  • Start date Start date
S

Stephen Lynch

For some reason my code just runs right through and it is not referencing
the field.

How do I reference textfield50, It is a date field forated with an inputmask
and short date?


*******Code **********

Dim strUserPassword As String

If Forms![frmContributionsManualEntry]![Text50] = "" Then
strUserPassword = InputBox("Please enter your password", "Password")
If strUserPassword = "Jessica" Then
MsgBox "ok"
Else
MsgBox "not ok"
End If

Thanks
 
Back
Top