SidCharming
Technical User
I have a proprietary front end to my access mdb that stores numerical values as strings. To add to the issue is the value is stored as a 7 place string. If value entered was a 4 (four), the db stores it as [teal]"4 "[/teal].
By using [tt][teal]cint(trim([field]))[/teal][/tt] I can pull out the '[teal]4[/teal]' as an integer with no problems. However when there is no value entered it is recorded as [teal]" "[/teal] and gets angery when I try and make it a null value.
I tried [tt][teal]iif(trim([field])="", null, cint(trim([field])))[/teal][/tt] with only ERRORS.
HELP!
Sid from Minnesota
By using [tt][teal]cint(trim([field]))[/teal][/tt] I can pull out the '[teal]4[/teal]' as an integer with no problems. However when there is no value entered it is recorded as [teal]" "[/teal] and gets angery when I try and make it a null value.
I tried [tt][teal]iif(trim([field])="", null, cint(trim([field])))[/teal][/tt] with only ERRORS.
HELP!
Sid from Minnesota