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

HELP! How to get Close Form Button to recognize related records exist

Status
Not open for further replies.

ChemistZ

Programmer
Oct 30, 2001
70
US
I have a form where a user can either enter a new claim type or change an existing claim type. If they change the claim type code which is the key and there are related records in another table, they currently only get the standard error message "The record can not be deleted or changed..." when they tab to a new record. I also have a close form button on this form and I need for that button to have a similar error message attached to it so that if they make a change and then hit that button they are informed that their change is not going to go into effect. We do not want to allow cascade updates so they just need to see a message letting them know they need to change it back. Can anyone help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top