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

Handle error in append query

Status
Not open for further replies.

Bokazoit

Technical User
Sep 16, 2004
73
DK
I have tried searching this forum but with no luck. But I think I have read something somewere about my problem.

Anyway. I have and append query and before it appends the data into a table it asks for a period (a number). I have used parameter and choosen value. So far so good. But I would really like it to react on errors so that it gives the user a choice between:

1. try again or

2. exit

I have all the queries in an access macro so when asked for a period I would like that to happen.

How to do that?

In advance tx :)
 
I'm afraid you have to deal with VBA code for transaction and recordset stuff.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top