cascade del and update custom msgbox

P

Paul Mars

I need to replace the generic cascade delete warning with a custom user
warning msgbox and I need to create another for cascade update.

Can I just simply catch the generic warning and replace it, or is there more
to this? What about the cascade update.

tx,
Paul
 
T

Tim Ferguson

I need to replace the generic cascade delete warning with a custom user
warning msgbox and I need to create another for cascade update.

I would run a query to count the number of affected records, and then
MsgBox the user with, "You are about to delete 251 records: Okay, Cancel"
and give them the chance to abort.

When it comes to defending your data against the Mad User, you just have to
program around him!

All the best


Tim F
 

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

Top