Prince
Registered User.
- Local time
- Today, 14:42
- Joined
- Oct 2, 2003
- Messages
- 29
Good Morning
Two questions
1-I have created a text field form and to search for account number
which is
Dim N As Boolean
N = IsNull(Text40.Value)
If N = False Then
Me.Recordset.FindFirst "AccountNumber = " & Text40.Value
Else
MsgBox "You didn't Enter Account Number"
End If
I would like to add code taht displays to the user in case the account doesn't exist message diplaying
"This account number doesn't exist"
2- I have put the previous code in button. I tried to also to use it when the user press Enter Key but I didn't succeed. If anyone can help.
Thanks for any help
Two questions
1-I have created a text field form and to search for account number
which is
Dim N As Boolean
N = IsNull(Text40.Value)
If N = False Then
Me.Recordset.FindFirst "AccountNumber = " & Text40.Value
Else
MsgBox "You didn't Enter Account Number"
End If
I would like to add code taht displays to the user in case the account doesn't exist message diplaying
"This account number doesn't exist"
2- I have put the previous code in button. I tried to also to use it when the user press Enter Key but I didn't succeed. If anyone can help.
Thanks for any help