Override system error with own message

S

Sandy

I have code that will delete a temporary table if it
already exists and display my own message in On Error GoTo
routine. The system message still displays. How can I
override this with my own message?

Sandy
 
A

Allen Browne

SetWarnings

Alternatively, Execute an action query statement to DROP the table.

If you are creating and destroying the same table, you may find it easier to
delete all the records, and append them.
 
S

Sandy

Thank you very much!

Sandy
-----Original Message-----
SetWarnings

Alternatively, Execute an action query statement to DROP the table.

If you are creating and destroying the same table, you may find it easier to
delete all the records, and append them.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to the newsgroup. (Email address has spurious "_SpamTrap")




.
 

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