I have a little problem when using ODBC with MFC on Access database. I need to update a record and immediately show the updated information. Well the problem is that when I do that it shows the old information. I guess there is some delay when updating the record with the new information.
So my question is: How can I make a dialog to show a message or a progress bar while the record is not updated yet. I expect that this dialog will be show only for a fraction of a second but depending on the computer it may be longer so I do not want to make a dialog that is shown for a static amount of time.
I was thinking of making a function to check if the new value is in the record. Maybe to check after some milliseconds. If that is your suggestion please suggest a time. For example: every 8 milliseconds or whatever you think will not use a lot of processor power.
Any help would be appreciated.
Start Free Trial