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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force Uppercase In Datagrid

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
Do datagrid columns have events?

I want to force uppercase when a user is typing something in a datagrid.

So I guess number 1 is how can I fire an event after someone is typing or after they have added data to a cell in a grid? Then number 2 is how do I convert the typing to uppercase?

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
use the keypress event, use the .toupper method to change the character entered to it's upper case value.

-Rick

----------------------

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Thanks Rick,

How do I do that for just one column though?

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top