Hi,
I have a VFP 7 legacy app which as of last year (a merger occurred increasing our user base about 30%) is starting to show signs of strain. The most alarming problems:
1. Users who save new records to tables or edit existing entries are not being seen by other users accessing those records. Exiting the application sometimes does not help.
2. Tables are not properly synched up. For example if customer.dbf and jobs.dbf are open at the same customerID record on a form that manipulates job information, but also shows information from the customer table, then sometimes the customer information is coming from an entirely different record. The child records in jobs are fine, but the name, organization, etc from customer.dbf are a different customer entirely.
Background info -
These issues are only seen in the summertime (our busy season) during periods when the most users are active in the system - before and after lunch. Our user base is around 40 users, with perhaps 15-20 actively entering and editing job information.
The application's main interface is a tabbed form. For the most part, the controls on the form are getting their data directly from a table open in the form's data environment - with the .ControlSource set to the table's field. There are 30 or so tables open in the DE with BufferModes set to 5.
I have two questions -
1. Does anyone have any suggestions on methods to get more information or narrow down the root causes? My symptoms are not causing errors...
2. If a big change were called for what do you think would yield the highest probability of success:
1. Upgrade to VFP 9
2. Unhooking the data from the interface - getting rid of the ControlSources in favor of pulling down a reecordset into memory variable, manipulating the data, then writing it back to the database.
3. A new buffer/locking strategy
4. Something else?
Thanks for reading this far, and for any light you can shed on this issue.
Dan Pesta
I have a VFP 7 legacy app which as of last year (a merger occurred increasing our user base about 30%) is starting to show signs of strain. The most alarming problems:
1. Users who save new records to tables or edit existing entries are not being seen by other users accessing those records. Exiting the application sometimes does not help.
2. Tables are not properly synched up. For example if customer.dbf and jobs.dbf are open at the same customerID record on a form that manipulates job information, but also shows information from the customer table, then sometimes the customer information is coming from an entirely different record. The child records in jobs are fine, but the name, organization, etc from customer.dbf are a different customer entirely.
Background info -
These issues are only seen in the summertime (our busy season) during periods when the most users are active in the system - before and after lunch. Our user base is around 40 users, with perhaps 15-20 actively entering and editing job information.
The application's main interface is a tabbed form. For the most part, the controls on the form are getting their data directly from a table open in the form's data environment - with the .ControlSource set to the table's field. There are 30 or so tables open in the DE with BufferModes set to 5.
I have two questions -
1. Does anyone have any suggestions on methods to get more information or narrow down the root causes? My symptoms are not causing errors...
2. If a big change were called for what do you think would yield the highest probability of success:
1. Upgrade to VFP 9
2. Unhooking the data from the interface - getting rid of the ControlSources in favor of pulling down a reecordset into memory variable, manipulating the data, then writing it back to the database.
3. A new buffer/locking strategy
4. Something else?
Thanks for reading this far, and for any light you can shed on this issue.
Dan Pesta