S
Sash
Is there a way to make all the fields on a form upper case or do I nee to
touch each one and use UCase?
touch each one and use UCase?
Al,
This is good to know, but I'm hoping to store the data as all caps. My
database is building a file to imported into a materials management system
that requires all caps.
fredg said:Al,
This is good to know, but I'm hoping to store the data as all caps. My
database is building a file to imported into a materials management system
that requires all caps.
You can run an Update query to convert existing lower or mixed case
data into Upper case.
Update YourTable Set YourTable.[FieldName] = UCase([FieldName])
The above converts existing data.
To change data as it is entered into the form into Upper Case, code
that control's AfterUpdate event:
Me![ControlName] = UCase(Me![ControlName])
However the above AfterUpdate code will not effect data that is not
manually entered. If your data is imported, you'll have to import,
then immediately run the Update query.
In regards to Update Queries, is there a place to RUN this command?
Update YourTable Set YourTable.[FieldName] = UCase([FieldName])
or is there a procedure that may be followed in order to do so? I apologize
for posting to an older thread, but I couldn't find anything else that fit my
question.