Hi all,
Sorry for the long post, but I don't know how else to explain this one.
Just after some advice really as I'm finding it difficult to update a
database. Currently this is running in Access 97 on NT but I do have
the option to upgrade to Access 2002 on XP.
In essence I'm dealing with over 140,000 items of data, these are
spread across about 400 identifiers which have about 44 fields specific
to 8 years.
All the fields across the 8 years specific to an identifier are updated
at once, hence at the moment I detect when an identifier has been
updated and then delete all entries I have for that identifier. After
this I cycle through all identifiers and the required fields/years and
if my database doesn't have a value it goes and retrieves it. It's
this bit which is taking a long time.
Initially I was using DCount to check for the value but have changed
this to something very similar to Trevor Best's infamous tcount, but it
still seems slow to me. For example, 1.5 hours to go through all
140,000+ entries when they are no changes.
I've considered changing the way it works so that I record the updated
identifiers and then only retrieve for them but the advantage with the
current way is that I can simply add a new field or year and all the
information would be dragged in.
So my question is, does anyone have any ideas as to how I might be able
to speed this up? Would migrating to 2002 and XP yield some speed or
can anyone think of another methodology for the program?
Any advice would be received with thanks,
Brad