Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Key Press Event 1

Status
Not open for further replies.

jweber

MIS
Nov 4, 2002
28
US
I would like to force one field in a form to store only capital letters, while the rest of the form is in the first letter capitalized form. Anybody know how to do this via code? I think you would use the Key Press, but I have NO sample code...and I am lost....

Thanks!
 
Hi

For All capitals see the format property, setting it to > should make all caps

For first letter capitalised you need the function ProperCase(), see help for the range of options available Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Thanks! I could not figure out where to begin!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top