Trap Mesage

  • Thread starter Thread starter Steve Warren
  • Start date Start date
S

Steve Warren

When I delete a record i get this mesage "The record can not be deleted or
changed because the "tblPurchaseOrders" includes related records"

How can I trap this and put my own mesage box in.

Thank you
Steve
 
you can try a couple of things


1. use on ' on error' property event of the form, then either write some
code or a macro to display your own error

2. or use on the delete property, and withan on error command do the same
thing
 
you can try a couple of things


1. use on ' on error' property event of the form, then either write some
code or a macro to display your own error

2. or use on the delete property, and withan on error command do the same
thing
--
Regardsyou can try a couple of things


1. use on ' on error' property event of the form, then either write some
code or a macro to display your own error

2. or use on the delete property, and withan on error command do the same
thing
 
you can try a couple of things


1. use on ' on error' property event of the form, then either write some
code or a macro to display your own error

2. or use on the delete property, and withan on error command do the same
thing
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top