glenhong@hotmail.com wrote:
[color=blue]
> The problem is the save or update is not fast enough. By the time I
> refresh the grid it still has the old data.[/color]
I ran into exactly this problem with one of my sets of forms (not a 3rd
party grid) last Fall when I began working with A2003. To edit records
on a continuous form, I had a pop up unbound form which I would make
entries on and then the close button of the pop up would perform a Jet
SQL insert via ADODB (instead of DAO, which I've used for years).
The changes would not show afterward on the continuous for immediately.
Sometimes I had to close the continuous form and reopen it, other
times I'd wait about 25 seconds before the changes would appear on the
continuous form. I tried all manner of requeries, reassigning the
continuous form recordsource, nothing worked, at least not consistently.
I got some help from the folks on this forum who suggested that instead
of an unbound pop up form I use a bound pop up form - that works.
However, I was very concerned about this because although i was working
on a jet database at the time, my main area of work is Access FE on
Oracle databases.
Anyway, I paid the bucks to talk with an MS rep. They were able to
replicate the problem and the conclusion about what was causing the delay?
ADO DB.
DAO is native to Jet and I've been using it in my Jet apps at least
since then.
BTW, some might scoff, but I have to say the MS support techs are
excellent to work with. It's a bit pricey, but they've helped me
tremendously in the past when time was of the essence and I was dealing
with subject not really covered by this group.
--
Tim
http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me