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
 
Back
Top