Hello, I am a little stuck.
I dim a number of abbreviations as strings. I update various fields in a table based on these dim's.
The routine works perfectly until I get to one that says 'where xyz = EL, which is a two character text code and then I get a data type mismatch.
There are seven simple docmd.run sql statements that are identical. The only difference is the two character code.
It works perfectly for every other code except 'EL'. EL is in the database, it is two character text. I checked the field length and 'EL' is only two characters.
If I go through and rename the EL abbreviation to ELE or something different, it works perfectly. Name it back to EL and it bombs.
So, I am kind of stuck. Is 'EL' a reserved word or something? I haven't been seen any documentation to that effect.
I told these folks this would be a six hour job and I just passed eight.
Is there a workaround? I cannot change the field name in the customer table and I need to update some values based on 'EL'
Thanks, dRahme.
I dim a number of abbreviations as strings. I update various fields in a table based on these dim's.
The routine works perfectly until I get to one that says 'where xyz = EL, which is a two character text code and then I get a data type mismatch.
There are seven simple docmd.run sql statements that are identical. The only difference is the two character code.
It works perfectly for every other code except 'EL'. EL is in the database, it is two character text. I checked the field length and 'EL' is only two characters.
If I go through and rename the EL abbreviation to ELE or something different, it works perfectly. Name it back to EL and it bombs.
So, I am kind of stuck. Is 'EL' a reserved word or something? I haven't been seen any documentation to that effect.
I told these folks this would be a six hour job and I just passed eight.
Is there a workaround? I cannot change the field name in the customer table and I need to update some values based on 'EL'
Thanks, dRahme.