Upper Case

T

TeeTime

My current Database has a provision for assigning
automatic capitolization to specified fields. Does
Access have this feature and if so how & where.
Thank you.
 
R

Ronald W. Roberts

TeeTime said:
My current Database has a provision for assigning
automatic capitolization to specified fields. Does
Access have this feature and if so how & where.
Thank you.
In table design view look at validation rules. You may be able to use the
UCase function to do it.
 
J

John Nurick

Hi TeeTime,

One way is to use an input mask on the field. Start the mask with > to
force uppercase.

So for a field that must contain 5 uppercase letters you'd use
and a validation rule like
Is Null Or Like "[A-Z][A-Z][A-Z][A-Z][A-Z]"
while for a field that can contain up to 10 characters (but not
lowercase letters) the mask would be
CCCCCCCCCC
and the validation rule something like
Is Null Or Not Like "*[a-z]*"

More subtle effects can be achieved by using forms and VBA code.
 
G

GVaught

Or much simpler, type > in the Format section property of the field either
in the table and/or the form.
 

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