This POS (Point of Sale) software will have a MySQL server located in the main office and will support local front ends in branch operations. The local front ends will have jet tables located in the system to provide high reliability and performance in the local systems.
We intend to sync the systems periodically using a timer event on forms.
Several problems arise in this process.
1. What is the preferred method of pausing sync when a user is performing sales operations? Somehow it needs to wait until X number of minutes from a keystroke.
2. It needs to check to see if the connection to the server is active.
3. It needs to continue to allow sales even if the connection is invalid.
4. Update server first on new sales transaction data. This is straight forward insert into the server tables and will verify that the primary key is not already used in the server tables. No problem there.
5. Searches by the branch for individual items will need to be pass through querried to the host. If host is not available no data exist.
6. Update or Insert into local tables updates to companywide contact and customer information based on time stamps. This will be an upload insert and a subsequent download insert. Where only a greater than time stamps will be updated or insert in the case of new records.
The thought just occurred to me that it’s possible that MySQL provides built in tools for this type of sync. If ya’ll are familiar with that let me know.
Some of the data will need to be live and not available during a network failure. The question there is how do you stop Access from shutting down when the WAN connection is bad?
Well I can see there is a lot to think about.
Hopefully by the time we are through with this thread we will have compiled a best practices for offsite management.
We intend to sync the systems periodically using a timer event on forms.
Several problems arise in this process.
1. What is the preferred method of pausing sync when a user is performing sales operations? Somehow it needs to wait until X number of minutes from a keystroke.
2. It needs to check to see if the connection to the server is active.
3. It needs to continue to allow sales even if the connection is invalid.
4. Update server first on new sales transaction data. This is straight forward insert into the server tables and will verify that the primary key is not already used in the server tables. No problem there.
5. Searches by the branch for individual items will need to be pass through querried to the host. If host is not available no data exist.
6. Update or Insert into local tables updates to companywide contact and customer information based on time stamps. This will be an upload insert and a subsequent download insert. Where only a greater than time stamps will be updated or insert in the case of new records.
The thought just occurred to me that it’s possible that MySQL provides built in tools for this type of sync. If ya’ll are familiar with that let me know.
Some of the data will need to be live and not available during a network failure. The question there is how do you stop Access from shutting down when the WAN connection is bad?
Well I can see there is a lot to think about.
Hopefully by the time we are through with this thread we will have compiled a best practices for offsite management.