Click here to Skip to main content
15,791,675 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to not ower-paint others child windows in CDialog? Pin
vgrigor3-Mar-04 5:57
vgrigor3-Mar-04 5:57 
GeneralRe: How to not ower-paint others child windows in CDialog? Pin
Prakash Nadar3-Mar-04 6:32
Prakash Nadar3-Mar-04 6:32 
AnswerRe: How to not ower-paint others child windows in CDialog? Pin
Michael Dunn3-Mar-04 8:11
sitebuilderMichael Dunn3-Mar-04 8:11 
GeneralProblem with pasting newlines in a rtf editor based on dialog box Pin
Filomela3-Mar-04 4:37
Filomela3-Mar-04 4:37 
GeneralRe: Problem with pasting newlines in a rtf editor based on dialog box Pin
Iain Clarke, Warrior Programmer3-Mar-04 6:00
Iain Clarke, Warrior Programmer3-Mar-04 6:00 
GeneralRe: Problem with pasting newlines in a rtf editor based on dialog box Pin
Iain Clarke, Warrior Programmer3-Mar-04 6:07
Iain Clarke, Warrior Programmer3-Mar-04 6:07 
Generalslow AddNew in Access ! Pin
Cynicannibal3-Mar-04 4:18
Cynicannibal3-Mar-04 4:18 
GeneralRe: slow AddNew in Access ! Pin
David Crow3-Mar-04 8:37
David Crow3-Mar-04 8:37 
Without seeing the actual code, it's very hard to tell. Assuming your code is correct, it sounds like it might be a caching problem. Use

CDatabase db;
CMyTable test(&db);
TRY
{
    test.Open();
    test.AddNew();
    ...
    if (test.Update() != FALSE)
    {
        test.Requery();
        
        test.MoveFirst();
        while (! test.IsEOF())
            test.MoveNext();
    }
}
CATCH(CDBException, pDBException)
{
    AfxMessageBox(pDBException->m_strError);
}
END_CATCH
test.Close();
to see if any DB exceptions are lying in wait.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
GeneralRe: slow AddNew in Access ! Pin
BrutalDeath05-Mar-04 0:53
sussBrutalDeath05-Mar-04 0:53 
GeneralRe: slow AddNew in Access ! Pin
David Crow8-Mar-04 7:04
David Crow8-Mar-04 7:04 
GeneralProblems with CMultiDocTemplate Pin
slyone3-Mar-04 3:54
slyone3-Mar-04 3:54 
Generalproblem bodged :) Pin
slyone3-Mar-04 10:14
slyone3-Mar-04 10:14 
GeneralCColorDialog "missing resource" crash problem Pin
miobrad3-Mar-04 3:24
miobrad3-Mar-04 3:24 
GeneralRe: CColorDialog "missing resource" crash problem Pin
miobrad3-Mar-04 5:44
miobrad3-Mar-04 5:44 
GeneralService control error Pin
Deian3-Mar-04 1:30
Deian3-Mar-04 1:30 
GeneralRe: Service control error Pin
Navin3-Mar-04 4:24
Navin3-Mar-04 4:24 
GeneralRe: Service control error Pin
Deian3-Mar-04 5:18
Deian3-Mar-04 5:18 
GeneralRe: Service control error Pin
Navin3-Mar-04 14:48
Navin3-Mar-04 14:48 
General(Service control errors Pin
Deian3-Mar-04 1:28
Deian3-Mar-04 1:28 
GeneralHelp: Writing large vector to file fast using Win32 API Pin
inter8ection3-Mar-04 1:23
inter8ection3-Mar-04 1:23 
GeneralRe: Help: Writing large vector to file fast using Win32 API Pin
Robert A. T. Káldy3-Mar-04 2:37
Robert A. T. Káldy3-Mar-04 2:37 
GeneralRe: Help: Writing large vector to file fast using Win32 API Pin
inter8ection3-Mar-04 3:27
inter8ection3-Mar-04 3:27 
GeneralRe: Help: Writing large vector to file fast using Win32 API Pin
James R. Twine3-Mar-04 6:40
James R. Twine3-Mar-04 6:40 
GeneralProblem with CFileDialog & OPENFILENAME Pin
turska3-Mar-04 1:03
turska3-Mar-04 1:03 
GeneralRe: Problem with CFileDialog & OPENFILENAME Pin
_Magnus_3-Mar-04 3:15
_Magnus_3-Mar-04 3:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.