Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEorr on exit with RichEditDoc/RichEditView Pin
Luoxz9-Mar-04 5:34
Luoxz9-Mar-04 5:34 
GeneralRe: Eorr on exit with RichEditDoc/RichEditView Pin
David Crow9-Mar-04 7:13
David Crow9-Mar-04 7:13 
GeneralRe: Eorr on exit with RichEditDoc/RichEditView Pin
Luoxz9-Mar-04 9:18
Luoxz9-Mar-04 9:18 
GeneralRe: Eorr on exit with RichEditDoc/RichEditView Pin
Antti Keskinen9-Mar-04 7:18
Antti Keskinen9-Mar-04 7:18 
GeneralAsk Create your own control Pin
Best Friend9-Mar-04 5:33
Best Friend9-Mar-04 5:33 
GeneralRe: Ask Create your own control Pin
Bin2Hex9-Mar-04 6:49
Bin2Hex9-Mar-04 6:49 
Generalsimple database problem Pin
pnpfriend9-Mar-04 5:27
pnpfriend9-Mar-04 5:27 
GeneralRe: simple database problem Pin
Bin2Hex9-Mar-04 6:55
Bin2Hex9-Mar-04 6:55 
pnpfriend wrote:
//insert a data here by using "Insert Into myTable..etc"<br />
myRecordSet->m_pDatabase->ExecuteSQL("Select fileName from myTable");<br />
while(!myRecordSet->IsEOF())<br />
{<br />
//doing comparing here<br />
MessageBox(myRecordSet->fileName);<br />
myRecordSet->MoveNext();<br />
}<br />
//insert a data here again...


The problem is that if you use a SQL statement to insert data into the recordset, it will not be visible until you requery it.
You can Close() and then Open() the recordset or else use Requery(). Please look into the help for the CRecordset class for more info (or just ask it here, if you have any more doubts Wink | ;) )
GeneralRe: simple database problem Pin
Antti Keskinen9-Mar-04 7:03
Antti Keskinen9-Mar-04 7:03 
GeneralRe: simple database problem Pin
pnpfriend9-Mar-04 7:17
pnpfriend9-Mar-04 7:17 
GeneralRe: simple database problem Pin
David Crow9-Mar-04 7:10
David Crow9-Mar-04 7:10 
GeneralMSVC.NET slowed on startup by MDM.EXE Pin
TroyGilbert9-Mar-04 5:04
TroyGilbert9-Mar-04 5:04 
QuestionMultiscripting?? Pin
Anonymous9-Mar-04 4:48
Anonymous9-Mar-04 4:48 
AnswerRe: Multiscripting?? Pin
David Crow9-Mar-04 7:02
David Crow9-Mar-04 7:02 
General$500 to $10,000++ if you can decode this.. Pin
Member 9347019-Mar-04 4:22
Member 9347019-Mar-04 4:22 
GeneralRe: $500 to $10,000++ if you can decode this.. Pin
David Crow9-Mar-04 4:51
David Crow9-Mar-04 4:51 
GeneralRe: $500 to $10,000++ if you can decode this.. Pin
Iain Clarke, Warrior Programmer9-Mar-04 8:02
Iain Clarke, Warrior Programmer9-Mar-04 8:02 
GeneralRe: $500 to $10,000++ if you can decode this.. Pin
Prakash Nadar9-Mar-04 4:54
Prakash Nadar9-Mar-04 4:54 
QuestionHow to declare class Member with template declaration ? Pin
vgrigor9-Mar-04 4:09
vgrigor9-Mar-04 4:09 
AnswerRe: How to declare class Member with template declaration ? Pin
Antti Keskinen9-Mar-04 5:32
Antti Keskinen9-Mar-04 5:32 
GeneralRe: How to declare class Member with template declaration ? Pin
vgrigor9-Mar-04 5:45
vgrigor9-Mar-04 5:45 
GeneralRe: How to declare class Member with template declaration ? Pin
Robert A. T. Káldy9-Mar-04 5:58
Robert A. T. Káldy9-Mar-04 5:58 
GeneralRe: How to declare class Member with template declaration ? Pin
vgrigor9-Mar-04 6:09
vgrigor9-Mar-04 6:09 
GeneralRe: How to declare class Member with template declaration ? Pin
Robert A. T. Káldy9-Mar-04 6:39
Robert A. T. Káldy9-Mar-04 6:39 
GeneralRe: How to declare class Member with template declaration ? Pin
Antti Keskinen9-Mar-04 6:52
Antti Keskinen9-Mar-04 6:52 

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.