Don't bother with the Text bit.
You're alergic to the AfterUpdate event? It's the one that runs after a
change, and if there was no change you don't need it.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"MLH" <CRCI@NorthState.net> wrote in message
news:8p6of19srjtnqeok24aqirevk9k11e91qt@4ax.com...[color=blue]
> Thanks, Allen. Do you recommend I use something like
> Me!MyField.Text = UCase(Me!MyField.Text)
> or can I just use
> Me!MyField = UCase(Me!MyField) ? I tried the former
> in the OnLostFocus event code. But, it seemed to generate another
> Update event (unwanted).
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
>
> On Fri, 12 Aug 2005 11:02:47 +0800, "Allen Browne"
> <AllenBrowne@SeeSig.Invalid> wrote:
>[color=green]
>>Use UCase() in the *AfterUpdate* event of the text box to convert the
>>case.
>>
>>You can place a > in the Format event of the text box to force the display
>>(but not stored value) to upper case. Don't do this with memo fields: it
>>truncates to 255 characters.
>>
>>It is also possible to use the KeyPress event to alter the KeyAscii to the
>>upper case version of the entry. You still need the AfterUpdate event as
>>well, in case the user pastes text in.[/color][/color]