Paul Cooke
Registered User.
- Local time
- Today, 03:00
- Joined
- Oct 12, 2001
- Messages
- 288
Hi Guys
I have a field "First Name" that is required on my bound form. If the field is left empty i get the default error message ... you must enter a value blah blah blah...
Firstly is there a way to change this msg to something more user friendly? and secondly I also have some strConv code in the Lost Focus event box of this field
This works fine if i actually enter something but stops the code if the field is empty.
I have tried adding
To be honest I have not got a clue whas going on so would be really grateful for any advice
Many thanks
Paul
I have a field "First Name" that is required on my bound form. If the field is left empty i get the default error message ... you must enter a value blah blah blah...
Firstly is there a way to change this msg to something more user friendly? and secondly I also have some strConv code in the Lost Focus event box of this field
Code:
FirstName.Value = StrConv(FirstName, vbProperCase)
This works fine if i actually enter something but stops the code if the field is empty.
I have tried adding
Code:
If IsNull (me.FirstName) = True Then
MsgBox "Enter Name", , "Name Required"
Else
FirstName.Value = StrConv(FirstName, vbProperCase)
End If
To be honest I have not got a clue whas going on so would be really grateful for any advice
Many thanks
Paul