cford31
New member
- Local time
- Today, 02:55
- Joined
- Jan 1, 2007
- Messages
- 6
I've attached a db (2000 version) of this problem.
The ParseTime function allows the user to enter 115 instead of 1:15 pm.
The ParseTime function is called if one of the following errors occur.
- Error 2279 is caused when the text entered does not match the input mask
- Error 2113 is caused when the value entered does not match the Data Type of the field.
When the input mask is used it works. When I take away the input mask it still runs the ParseTime code (b/c Error 2113 is tripped), but it gives the following error message:
The ParseTime function allows the user to enter 115 instead of 1:15 pm.
The ParseTime function is called if one of the following errors occur.
- Error 2279 is caused when the text entered does not match the input mask
- Error 2113 is caused when the value entered does not match the Data Type of the field.
When the input mask is used it works. When I take away the input mask it still runs the ParseTime code (b/c Error 2113 is tripped), but it gives the following error message:
Code:
Run Time error '2115':
The macro or function set to the BeforeUpdate or ValidationRule
property for this field is preventing CID from saving the data in the field."