Continue after DBQuery or DBExec

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
wells50
Newbie
Posts: 14
Joined: Sat Mar 04, 2006 9:58 pm
Location: Edina, Minnesota USA
Contact:

Continue after DBQuery or DBExec

Post by wells50 » Fri Jan 14, 2011 12:40 am

The database functions in Macro Scheduler are wonderful: clear and powerful.

Is there some way that a Macro Scheduler script can detect when a DBQuery on a MS SQL Server table has completed? Right now I am just having it wait 5 seconds. But if the query finishes quickly, I'd rather the user did not have to wait.

Thank you.
Wells H. Anderson
Active Practice LLC

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Jan 14, 2011 10:04 am

Not sure I understand the question. DBQuery will not return until it has finished. So there is nothing to wait for.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts