NigelShaw
Registered User.
- Local time
- Today, 18:17
- Joined
- Jan 11, 2008
- Messages
- 1,575
hi All,
i am using this code-
Private Sub MatIn_BeforeUpdate(Cancel As Integer)
If Not IsNumeric([MatIn]) Then
MsgBox ("The Entry must contain a number"), vbOKOnly, "AccCIS Input Error"
Cancel = True
Exit Sub
End If
to prevent letters being added to a currency field box. there was a Trim added here-
If Not IsNumeric(Trim, [MatIn]) Then
but it threw out an error.
anyone know what it should be?
many thanks
nigel
i am using this code-
Private Sub MatIn_BeforeUpdate(Cancel As Integer)
If Not IsNumeric([MatIn]) Then
MsgBox ("The Entry must contain a number"), vbOKOnly, "AccCIS Input Error"
Cancel = True
Exit Sub
End If
to prevent letters being added to a currency field box. there was a Trim added here-
If Not IsNumeric(Trim, [MatIn]) Then
but it threw out an error.
anyone know what it should be?
many thanks
nigel