'Cos, My db has just crossed the 1.2GB mark and of late,
In that cause, you are on the verge of what is safe or sensible to store
in Access. Start looking at SQL Server or MySQL. Now.
slowed down a
lot on the Search Forms in general and bulk updates to some extent.
Remember that indexes will slow down an update and speed up a retrieval.
Are yours all appropriate?
I've replaced some of the DAO code for bulk updates with saved Update
Queries (which I didn't like much, I wanted my modules to be as
independent as possible of outside objects except Tables, of course).
Huh? If you are using vba loops instead of SQL updates then chuck them
all out and use SQL instead. It's what Jet was made for. Querydefs _are_
a part of the data model, being a kind of mutated combination of views
and stored procedures.
Also, I've used a lot of Domain Functions which I now want to replace
if need be.
Whatever floats your boat, but I don't see the point...
Hence, I want to make it doubly
sure that the code I now rewrite should be flawless in principle.
Flawless code means humanly readable, easily maintainable, well
documented. Programming 101 says that you don't bother optimising until
you have worked out where the bottlenecks are. In Access, this is nearly
always the network. In your case, it's probably also because the mdb is
far too close to its maximum size. You don't say whether you have split
the database: I hope you have because there's a real danger of trashing
the thing at this size. Faffing around with domain functions is probably
somewhere around 57th on your list of priorities.
Hope that helps
Tim F