AndrewMozley
Programmer
In some circumstances data which is being written to two tables in one data session is not being seen in the same way in another data session
Session 1 : Purchase invoice
When an invoice is entered, several tables are updated. In particular, a record in added to the invoice table and the ‘Balance’ field is updated in the supplier table.
Session 2 : Enquiry
This session (a different form within the application) uses both these tables.
Initially an enquiry (Session 2) is made on a particular supplier’s account. This shows the balance and the transactions. Meanwhile an invoice is entered and posted. (Session 1)
When the invoice has been posted. an enquiry on that supplier is made, back in session 2.
On my own development machine all is fine : the enquiry shows the updated balance and details of the new invoice. But on one client’s machine (on a network) he notices that while the updated balance (from the supplier table) is shown correctly, the new transactions (from the invoice table) do not always show.
But if he exits the system, restarts and examines the supplier’s account, all is well.
What am I doing wrong! what commands should I include as well as the code for appending and editing? a skeletal example of code would be most helpful.
Thanks in advance
Session 1 : Purchase invoice
When an invoice is entered, several tables are updated. In particular, a record in added to the invoice table and the ‘Balance’ field is updated in the supplier table.
Session 2 : Enquiry
This session (a different form within the application) uses both these tables.
Initially an enquiry (Session 2) is made on a particular supplier’s account. This shows the balance and the transactions. Meanwhile an invoice is entered and posted. (Session 1)
When the invoice has been posted. an enquiry on that supplier is made, back in session 2.
On my own development machine all is fine : the enquiry shows the updated balance and details of the new invoice. But on one client’s machine (on a network) he notices that while the updated balance (from the supplier table) is shown correctly, the new transactions (from the invoice table) do not always show.
But if he exits the system, restarts and examines the supplier’s account, all is well.
What am I doing wrong! what commands should I include as well as the code for appending and editing? a skeletal example of code would be most helpful.
Thanks in advance