Help! with application won't run (1 Viewer)

mike60smart

Registered User.
Local time
Today, 18:42
Joined
Aug 6, 2017
Messages
1,913
Hi Gasman
My error. It is as Pat describes.
 

slharman1

Member
Local time
Today, 12:42
Joined
Mar 8, 2021
Messages
476
Just a further thought. You ought to have code in your front end that maintains a persistent connection to the back end. This will speed up performance for multiple concurrent users, and may help protect against network dropouts.
Can you expand on this please
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 18:42
Joined
Sep 12, 2006
Messages
15,634
Can you expand on this please
When a user needs to read from an access table stored on a server (split database), a PC has to negotiate a connection to that server. If other users are using the database, then this can add a few seconds per table. If you have a database with say 10 tables, you might find that it can take 20-30seconds before a menu appears for a new user if the database is already in use.

To get around this we often add a hidden form or a hidden recordset connecting to a "dummy" table. This keeps the connection to the data database permanent or persistent, and the connection doesn't have to be negotiated each time. If the connections are being discarded by the server after a timeout period, this may also help with "network access interrupted" issue, although I am not sure about that.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 13:42
Joined
Feb 19, 2002
Messages
43,203
Create a new table in the BE. Link to that table. Create a form bound to that table. If you have a login form, open the new form and hide it by changing its visible property to No as the last step before opening your main form. If you don't have a login form, you can use your Switchboard or whatever Menu form you use to give a framework to the application.
 

slharman1

Member
Local time
Today, 12:42
Joined
Mar 8, 2021
Messages
476
When a user needs to read from an access table stored on a server (split database), a PC has to negotiate a connection to that server. If other users are using the database, then this can add a few seconds per table. If you have a database with say 10 tables, you might find that it can take 20-30seconds before a menu appears for a new user if the database is already in use.

To get around this we often add a hidden form or a hidden recordset connecting to a "dummy" table. This keeps the connection to the data database permanent or persistent, and the connection doesn't have to be negotiated each time. If the connections are being discarded by the server after a timeout period, this may also help with "network access interrupted" issue, although I am not sure about that.
Thanks
 

Users who are viewing this thread

Top Bottom