303factory
Registered User.
- Local time
- Today, 09:10
- Joined
- Oct 10, 2008
- Messages
- 136
Hi
My VB client links to a set of data tables that are stored on a shared network drive (the 'Z' drive). I develop it on my C drive (the local client) then distribute it for everyone to use with a server database (the live client)
Recently we've had complaints the live client is running really slowly, taking ages to open and close forms. Going through debug on a live client ive found the bottleneck is opening and closing recordsets. These happen far slower than on my local client
To close one screen and open another about 5 sets of recordsets will be opened and closed by code (my forms are not linked directly to tables). Each one will take about 1 second to open and 1 second to close. As such its taking at least 20 seconds to move from screen to screen.
What I'd like to know is what exactly could be causing such a slow opening/closing of recordsets.
Is there some drive latency I could investigate and hassle the IT deparment about?
Perhaps there is a cunning way I could combine all my recordset opening and closing into one move?
I appreciate this might be more of a networking question but I'm not experienced at networking or VB so if anyone has any suggestions that would be excellent.
My VB client links to a set of data tables that are stored on a shared network drive (the 'Z' drive). I develop it on my C drive (the local client) then distribute it for everyone to use with a server database (the live client)
Recently we've had complaints the live client is running really slowly, taking ages to open and close forms. Going through debug on a live client ive found the bottleneck is opening and closing recordsets. These happen far slower than on my local client
To close one screen and open another about 5 sets of recordsets will be opened and closed by code (my forms are not linked directly to tables). Each one will take about 1 second to open and 1 second to close. As such its taking at least 20 seconds to move from screen to screen.
What I'd like to know is what exactly could be causing such a slow opening/closing of recordsets.
Is there some drive latency I could investigate and hassle the IT deparment about?
Perhaps there is a cunning way I could combine all my recordset opening and closing into one move?
I appreciate this might be more of a networking question but I'm not experienced at networking or VB so if anyone has any suggestions that would be excellent.