control + break

  • Thread starter Thread starter LGarcia
  • Start date Start date
L

LGarcia

Hi All,
I have an AXP app that runs numerous queries which take a long time to
complete. I have a splash screen that appears as these queries run with the
message that states "This may take a long time - Please Wait...". But some
of my impatient users are using control + break to stop the process. This is
causing problems. Is there a best way to handle my impatient users and their
control+break keystrokes through code? Rolled up newspapers aren't
working......
Thanks,
LGarcia
 
Presumably these are action queries if they are messing up the data?
If so, you could Execute them instead of using RunSql, e.g.:
dbEngine(0)(0).Execute "MyActionQuery", dbFailOnError

If necessary, wrap them in a transaction so you can rollback. Details and
pitfalls in:
http://members.iinet.net.au/~allenbrowne/ser-37.html
 
Thanks Mr Browne. Your presumption is correct and I will attempt to utilize
your suggestions.
 

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

Back
Top