Hi Rich,
I tried your suggestion and it worked beautifully.. Thanks so much.
Missingling,Bob :
I changed the Err# to 2501, but it still didn't work.
The situation is that I have a command button which links to a form which is based on a query.
When I click on the button, the query requests a...