Advertisement

07.23.2008 at 04:43AM PDT, ID: 23588072 | Points: 500
[x]
Attachment Details

How to determine when a record has beed updated in an Access Database with ODBC in MFC.

Asked by Choklander in Windows MFC Programming, Microsoft Access Database

Tags: Microsoft, Visual Studio, MFC, 2008

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
[+][-]07.24.2008 at 03:54PM PDT, ID: 22084403

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.25.2008 at 07:14AM PDT, ID: 22088780

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628