Re: Data Project - Running SP via ADO
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Wed, 18 Jul 2007 14:17:23 -0400
Kyle Jedrusiak wrote:
I've looked at the ADO documentation and it's not clear to me.You need to run it asynchronously by instantiating the Connection object
I have a long SP that doesn't return any records.
I want the ability to start running it, know that it's still running
so I can let the user know and be able to stop any time after it's
been started.
I am using the CurrentProject.Connection to run the SP.
I've tried both the Connection object and the Command object.
When I call the Cancel method, the SP continues to run till it's done.
If there is a way to do this correctly, what it is?
with the WithEvents keyword. I do not know if this is possible with
CurrentProject.Connection: I doubt if it is, but you will need to ask
the Access people if it is.
Start here:
http://msdn2.microsoft.com/en-us/library/ms677579.aspx
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- Follow-Ups:
- Re: Data Project - Running SP via ADO
- From: Kyle Jedrusiak
- Re: Data Project - Running SP via ADO
- References:
- Data Project - Running SP via ADO
- From: Kyle Jedrusiak
- Data Project - Running SP via ADO
- Prev by Date: Data Project - Running SP via ADO
- Next by Date: Execute SP async with ability to stop execution
- Previous by thread: Data Project - Running SP via ADO
- Next by thread: Re: Data Project - Running SP via ADO
- Index(es):
Relevant Pages
|
|