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

passthrough to fire a SP without waiting for results 2

Status
Not open for further replies.

scotttom

IS-IT--Management
Mar 5, 2002
143
US
Hi,

I need to send a query to a stored procedure where I don't want to wait for the results.

This SP can take up to 2 minutes to run and I don't want the users to have to wait before moving on in the code.

I have returns records set to no but I can't figure out how to just move along without waiting.

How do i do that?

Thanks in advance for any help.

Scott
 
In your ADO help file have a look at adAsyncExecute

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks PHV I kinda needed that for some jobs I have that run on a scheduler to scrub data periodically on my SQL Server.

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Thanks PHV,

I think that would have done the trick, but I ended using a SQL job with a process flag.

Good lessons learned traveling down that road, but I appreciate your reply.

Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top