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

Error Trap on Datgrid

Status
Not open for further replies.

Wallegator

Programmer
Jan 3, 2001
58
0
0
US
I have a datagrid control with 3 columns ... a city or county, a state, and an abbreviation. I want to prevent duplicates from being entered in the third column ... abbreviation. How do I trap the error and clear out any existing data entered in the cell if its a duplicate?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top