gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I am struggling moving from Excel to Access VBA. Would someone be very kind and assist me with this one?
I need an If statement that states if [AnswerTo_Security]=[Security_Answer]
then [Text41]=[UserID_PWHint]
Else [Text41]="Incorrect Security Question answer"
[Text41] and [AnswerTo_Security] are both Unbound fields on my form.
[Security_Answer] and [UserID_PWHint] are both fields from a query to which the forms record source is - qryEmployeeLst
Very much appreciated!!
I need an If statement that states if [AnswerTo_Security]=[Security_Answer]
then [Text41]=[UserID_PWHint]
Else [Text41]="Incorrect Security Question answer"
[Text41] and [AnswerTo_Security] are both Unbound fields on my form.
[Security_Answer] and [UserID_PWHint] are both fields from a query to which the forms record source is - qryEmployeeLst
Very much appreciated!!