Upper case problem.

S

Sue

I have a table with a field whose format is set to > and whose input mask is
set to LA0000. The form for data entry also has format for that field set to
. A query that I've designed displays this field properly, but the report
does not; the characters in question are capitalized only if they were typed
that way. The text isn't "forced" to caps as I'd anticipated.

Is there somewhere within the form or the table where I can enter some code
that will case a conversion of all lowercase letters to caps both in the
form, in the table, and in all queries & reports that use this field?

Thanks.
 
L

Larry Daugherty

In the BeforeUpdate event of each textbox you want to force to save
characters in upper case, place a line of code like:

me!MyTextbox = UCase(me!MyTextbox)

HTH
 
S

Sue

Thanks for the help!
--
Thanks for your time!


Larry Daugherty said:
In the BeforeUpdate event of each textbox you want to force to save
characters in upper case, place a line of code like:

me!MyTextbox = UCase(me!MyTextbox)

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top