Field Format.

K

KAnoe

I have two fields that I would like to set the format on. One is the First
Name. I would like to set it so that ONLY the first letter is a capital
letter. The field size is 50. I see that I can do this >L<LL but i must do
the letters after the first one 49 times and then the user must use all 50
spaces.

The second one I would like all Caps. Again if i use the >L< I must do it 50
times.

Any help would be great.
 
F

fredg

I have two fields that I would like to set the format on. One is the First
Name. I would like to set it so that ONLY the first letter is a capital
letter. The field size is 50. I see that I can do this >L<LL but i must do
the letters after the first one 49 times and then the user must use all 50
spaces.

The second one I would like all Caps. Again if i use the >L< I must do it 50
times.

Any help would be great.

Let the user enter both names however they wish
(remove the >L<LL etc. Input Mask)

Code the [FirstName] AfterUpdate event:
Me![FirstName] = StrConv([FirstName],3)

Code the [LastName] AfterUpdate event:
Me![LastName] = UCase([LastName])
 
K

KAnoe

THANKS!!!!!!!!!!!!!!!!

fredg said:
I have two fields that I would like to set the format on. One is the First
Name. I would like to set it so that ONLY the first letter is a capital
letter. The field size is 50. I see that I can do this >L<LL but i must do
the letters after the first one 49 times and then the user must use all 50
spaces.

The second one I would like all Caps. Again if i use the >L< I must do it 50
times.

Any help would be great.

Let the user enter both names however they wish
(remove the >L<LL etc. Input Mask)

Code the [FirstName] AfterUpdate event:
Me![FirstName] = StrConv([FirstName],3)

Code the [LastName] AfterUpdate event:
Me![LastName] = UCase([LastName])
 

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