J
Jeff
Hi All,
I have a database that enables the user to make selections
that can be used to create queries. The problem I have is
that some of these filters create queries that run a long
time and the users are closing the database through
Windows Task Manager and it corrupts the database.
What I would like to do is present the user with a pop up
window while the query is running that gives them the
option to cancel the query and close the database properly.
My code snippet is:
Do While Recordset.StillExecuting = True
MsgBox Prompt:="Click OK to stop the Query", _
Buttons:=vbOkOnly, _
Title:="Cancel Query"
Loop
I am getting the error message:
3251 Operation is not supported for this type of object
Any help is appreciated.
Thanks.
Jeff
I have a database that enables the user to make selections
that can be used to create queries. The problem I have is
that some of these filters create queries that run a long
time and the users are closing the database through
Windows Task Manager and it corrupts the database.
What I would like to do is present the user with a pop up
window while the query is running that gives them the
option to cancel the query and close the database properly.
My code snippet is:
Do While Recordset.StillExecuting = True
MsgBox Prompt:="Click OK to stop the Query", _
Buttons:=vbOkOnly, _
Title:="Cancel Query"
Loop
I am getting the error message:
3251 Operation is not supported for this type of object
Any help is appreciated.
Thanks.
Jeff