downwitchyobadself
Programmer
Hi all.
I've had some ongoing problems with a file-server app's speed across a network; I recently put a new version into beta testing which follows the very good advice offered at on opening a persistent recordset on app open, and closing it on app close, to maintain a single connection to the ldb file.
Unfortunately, the persistent recordset and single connection are not working; the lock files seem to be increasing faster than in the previous version, in fact. Watching the lock files on the server, the number of locks jumps quickly, and as soon as one user hits ~50 locks, everyone slows down. And in general the only way to make the number of lock files drop is to close Access.
It's extremely frustrating--the app is code-heavy (Access 2000, uses a lot of DAO recordsets), and though it flies when run locally, the constant reconnecting and rewriting attempts on the ldb are ruining its speed over the network; the longer the app runs on a given day, the slower it runs.
Anyone have any experience with this? Any ideas why my basic persistent recordset and single db connection would not be working?
Thanks in advance.
I've had some ongoing problems with a file-server app's speed across a network; I recently put a new version into beta testing which follows the very good advice offered at on opening a persistent recordset on app open, and closing it on app close, to maintain a single connection to the ldb file.
Unfortunately, the persistent recordset and single connection are not working; the lock files seem to be increasing faster than in the previous version, in fact. Watching the lock files on the server, the number of locks jumps quickly, and as soon as one user hits ~50 locks, everyone slows down. And in general the only way to make the number of lock files drop is to close Access.
It's extremely frustrating--the app is code-heavy (Access 2000, uses a lot of DAO recordsets), and though it flies when run locally, the constant reconnecting and rewriting attempts on the ldb are ruining its speed over the network; the longer the app runs on a given day, the slower it runs.
Anyone have any experience with this? Any ideas why my basic persistent recordset and single db connection would not be working?
Thanks in advance.