Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what dose "afx" mean? Pin
Michael Dunn22-Oct-05 6:23
sitebuilderMichael Dunn22-Oct-05 6:23 
GeneralRe: what dose "afx" mean? Pin
ewighell22-Oct-05 5:44
ewighell22-Oct-05 5:44 
Questioncompile errors with GDI Pin
j_penbert22-Oct-05 3:34
j_penbert22-Oct-05 3:34 
Questiondebugging Pin
virmanisunil22-Oct-05 2:24
virmanisunil22-Oct-05 2:24 
Question840730 - using DLGTEMPLATE Pin
ilostmyid222-Oct-05 1:45
professionalilostmyid222-Oct-05 1:45 
QuestionRun time error(Very Urgent) Pin
kind_person22-Oct-05 1:30
susskind_person22-Oct-05 1:30 
QuestionCDaoDatabase - Edit Pin
ddmcr22-Oct-05 1:11
ddmcr22-Oct-05 1:11 
AnswerRe: CDaoDatabase - Edit Pin
Ghasrfakhri22-Oct-05 2:21
Ghasrfakhri22-Oct-05 2:21 
Hi You can use SQL commands to edit your records
<br />
Sql = "UPDATE Clients SET Name='Bob' WHERE Name='Nick' AND Surname='Allen'";<br />
db.Excute(Sql);


or Create a class with Base CDAORecordSet & the uose code like
...<br />
 recset.Move(1);<br />
// Here I want to Edit second record and change         <br />
// Nick Allen to Bob Allen		<br />
recset.Edit();<br />
recset.m_Name = "Bob";<br />
recset.Update();<br />
recset.Close();<br />
...


to Create CDaoRecordeser Based Class U most add new MFC class & select CDaoRecordset as Base Class the IDE ask you to select your DB & table (VS 6.0)
in VS .Net 2003 you most add new "MFC ODBC Consumer" Class ....
Regards,

Iman Ghasrfakhri
GeneralRe: CDaoDatabase - Edit Pin
ddmcr22-Oct-05 4:02
ddmcr22-Oct-05 4:02 
GeneralRe: CDaoDatabase - Edit Pin
Ghasrfakhri22-Oct-05 9:17
Ghasrfakhri22-Oct-05 9:17 
Questiontree notifications Pin
narayanagvs22-Oct-05 0:55
narayanagvs22-Oct-05 0:55 
AnswerRe: tree notifications Pin
narayanagvs22-Oct-05 1:25
narayanagvs22-Oct-05 1:25 
QuestionPRODUCT KET VS.2005 BETA 2 Pin
Greeky21-Oct-05 23:43
Greeky21-Oct-05 23:43 
AnswerRe: PRODUCT KET VS.2005 BETA 2 Pin
Michael Dunn22-Oct-05 6:27
sitebuilderMichael Dunn22-Oct-05 6:27 
GeneralRe: PRODUCT KET VS.2005 BETA 2 Pin
ddmcr22-Oct-05 7:35
ddmcr22-Oct-05 7:35 
Questionhow to design muti thread program in VC++ Pin
Anonymous21-Oct-05 22:59
Anonymous21-Oct-05 22:59 
AnswerRe: how to design muti thread program in VC++ Pin
Arman S.22-Oct-05 1:01
Arman S.22-Oct-05 1:01 
AnswerRe: how to design muti thread program in VC++ Pin
Rage_bla22-Oct-05 4:34
Rage_bla22-Oct-05 4:34 
Questionreguarding re-positioning CPropertyPage in CDialog. Pin
suchuhui21-Oct-05 22:48
suchuhui21-Oct-05 22:48 
Answerproblem has been figured out. Pin
suchuhui21-Oct-05 23:38
suchuhui21-Oct-05 23:38 
QuestionLinking errors: unresolved external symbol Pin
Anonymous21-Oct-05 22:39
Anonymous21-Oct-05 22:39 
AnswerRe: Linking errors: unresolved external symbol Pin
S. Senthil Kumar22-Oct-05 0:59
S. Senthil Kumar22-Oct-05 0:59 
GeneralRe: Linking errors: unresolved external symbol Pin
Anonymous22-Oct-05 1:11
Anonymous22-Oct-05 1:11 
QuestionCreating CRecordset Derived class Pin
ddmcr21-Oct-05 22:01
ddmcr21-Oct-05 22:01 
AnswerRe: Creating CRecordset Derived class Pin
Ghasrfakhri22-Oct-05 1:44
Ghasrfakhri22-Oct-05 1:44 

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.