Re: Indicating Stored Procedure progress on Form
- From: "Alan Z. Scharf" <ascharf@xxxxxxxxxxxxxx>
- Date: Wed, 20 Dec 2006 09:47:15 -0500
Sylvaine,
Thanks for your reply.
Those sound like two good things to try.
Will let y0u know if I have any success.
Regards,
Alan
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:eGWYiM6IHHA.3872@xxxxxxxxxxxxxxxxxxxxxxx
Two possibilities:separate
1- You are using the same connection for calling your SP than the
connection used by Access to open the second form. Try opening a
connection to query your table.as
2- A transaction is open when the master SP is called, all subsquent
writes are then part of this transaction and won't be visible from the
outside until the transaction is committed. Try the Read Uncommited
isolation level for reading your table (cannot be done for a bound form
under Access, so you will have to directly open a recordset from VBA).
However, I don't know if this will work in your case.
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
"Alan Z. Scharf" <ascharf@xxxxxxxxxxxxxx> wrote in message
news:uA7ZwR4IHHA.2312@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
1. I have a master stored procedure that runs a series of other SP's in
succeession.
2. At the end of each individual SP, I have a command that writes a
record
to a table with the completed SP's name and elapsed time.
3. I want to show this table on a form with the records being added one
by
one as each SP completes.
4. The table-writing methood itself works, but I can't get the form to
requery the underlying form query on this table to display each record
it
is added.
5. I tried using the form's OnTimer event together with an interval of
2000,
but nothing happens,
When the master SP completes, the form requeries and the completed
'results'
table displays with all records at once.
Question:
---------
Is there a mthod to get this to work? Am I mising something?
Thanks.
Alan
.
- References:
- Indicating Stored Procedure progress on Form
- From: Alan Z. Scharf
- Re: Indicating Stored Procedure progress on Form
- From: Sylvain Lafontaine
- Indicating Stored Procedure progress on Form
- Prev by Date: Re: Delete Data in All Tables
- Next by Date: Re: Cannot create Stored Procedure in designer
- Previous by thread: Re: Indicating Stored Procedure progress on Form
- Next by thread: Re: Cannot create Stored Procedure in designer
- Index(es):
Relevant Pages
|