This is normal.
Query statistics gets reset on Compact
HtH
Pieter
>I have an Access 97 fe/be database where the be data had a corruption. I
> successfully repaired with Access and JetCompact but ever since there is
[quoted text clipped - 21 lines]
>
> Thanks
Thanks for your reply Peiter.
Does this mean there is nothing to do about it? It still seems quite strange
to me since the query is in the front-end and this same query runs fast or
slow depending which back-end it's linked to.
Any further thoughts are appreciated.
Thanks
-Darvin
> This is normal.
> Query statistics gets reset on Compact
[quoted text clipped - 28 lines]
> >
> > Thanks
Pieter Wijnen - 02 Oct 2007 14:41 GMT
Should have read more closely.
You probably lost an index in the repair process
Pieter
> Thanks for your reply Peiter.
>
[quoted text clipped - 41 lines]
>> >
>> > Thanks
John Spencer - 02 Oct 2007 16:16 GMT
Check all the indexes on the repaired backend. If they are all there, you
might try dropping all the indexes, compacting, and then re-establishing all
the indexes.

Signature
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
> Thanks for your reply Peiter.
>
[quoted text clipped - 41 lines]
>> >
>> > Thanks
Darvin - 02 Oct 2007 16:59 GMT
Thanks for the replies Pieter and John.
I'll check out the indexes again and let you know how I make out.
-Darvin
> Check all the indexes on the repaired backend. If they are all there, you
> might try dropping all the indexes, compacting, and then re-establishing all
[quoted text clipped - 45 lines]
> >> >
> >> > Thanks
Darvin - 03 Oct 2007 14:59 GMT
Looks like the indexes are OK, but I'll keep checking.
Here's a clarification. I "thought" that the fe query ran fast or slow with
the old or new data file respectively, but that by itself seems to be quite
comparable. Specifically it is when I open the report. If I break through I
code, directly after the "On Open" event and before the "On Activate" event,
there is a 20 sec delay for one data file while the other is basically
instantaneous.
I thought the report is loading its recordsource at this time, but possibly
there's something else going on too.
Any ideas?
Thanks in advance for you help.
-Darvin
> Thanks for your reply Peiter.
>
[quoted text clipped - 39 lines]
> > >
> > > Thanks
Darvin - 09 Oct 2007 17:26 GMT
Hello again,
Just wondering if anyone can help with this issue. The strange thing is the
delay between the On Open event and the On Activate event. What does Access
do between these 2 events?
The same report acts differently based on which data file it's attached to.
Thanks
Darvin
> Looks like the indexes are OK, but I'll keep checking.
>
[quoted text clipped - 56 lines]
> > > >
> > > > Thanks