Re: Data Project - Running SP via ADO
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Fri, 20 Jul 2007 08:07:34 -0400
Accepted.
Now, did my post help or not? :-)
Kyle Jedrusiak wrote:
Sorry for the double post.
"Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> wrote in message
news:uPWpkfWyHHA.4928@xxxxxxxxxxxxxxxxxxxxxxx
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
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?
object 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.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- References:
- Data Project - Running SP via ADO
- From: Kyle Jedrusiak
- Re: Data Project - Running SP via ADO
- From: Bob Barrows [MVP]
- Re: Data Project - Running SP via ADO
- From: Kyle Jedrusiak
- Data Project - Running SP via ADO
- Prev by Date: Re: Data Project - Running SP via ADO
- Next by Date: Re: Opening parameterized ADO Recordset with Dynamic/Keyset cursor typ
- Previous by thread: Re: Data Project - Running SP via ADO
- Next by thread: Execute SP async with ability to stop execution
- Index(es):
Relevant Pages
|
|