Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr4-Dec-09 13:52
Larry Mills Sr4-Dec-09 13:52 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow7-Dec-09 2:59
David Crow7-Dec-09 2:59 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr7-Dec-09 5:13
Larry Mills Sr7-Dec-09 5:13 
QuestionRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow7-Dec-09 5:27
David Crow7-Dec-09 5:27 
AnswerRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr7-Dec-09 5:35
Larry Mills Sr7-Dec-09 5:35 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow7-Dec-09 8:49
David Crow7-Dec-09 8:49 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr7-Dec-09 13:30
Larry Mills Sr7-Dec-09 13:30 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow8-Dec-09 3:24
David Crow8-Dec-09 3:24 
Larry Mills Sr wrote:
the MS Access database is called "CookIt.mdb" and with the DSN iit is now "CookIt.mdb.dsn" Is this normal?


I don't think so.

Larry Mills Sr wrote:
Now, you state you have a CDatabase in Documents. Do I declare it in the Header?


Yes, just like you would any other member variable.

Larry Mills Sr wrote:
and how do I get the CRecordset m_pSet set to that database? I may be asking this wrong.


The constructor.

Larry Mills Sr wrote:

so if I used your code would mine be: m_rDatabase.Open(NULL, NULL, FALSE, _T("ODBC;DSN=CookIt")); Is this right?


It looks right.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? [modified] Pin
Larry Mills Sr7-Dec-09 14:05
Larry Mills Sr7-Dec-09 14:05 
QuestionRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow8-Dec-09 3:20
David Crow8-Dec-09 3:20 
AnswerRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr8-Dec-09 4:12
Larry Mills Sr8-Dec-09 4:12 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr9-Dec-09 4:25
Larry Mills Sr9-Dec-09 4:25 
AnswerRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow9-Dec-09 4:29
David Crow9-Dec-09 4:29 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr9-Dec-09 4:47
Larry Mills Sr9-Dec-09 4:47 
QuestionMessage mapping Pin
msr_codeproject29-Nov-09 6:56
msr_codeproject29-Nov-09 6:56 
AnswerRe: Message mapping Pin
«_Superman_»29-Nov-09 8:15
professional«_Superman_»29-Nov-09 8:15 
AnswerRe: Message mapping Pin
Rajesh R Subramanian29-Nov-09 8:18
professionalRajesh R Subramanian29-Nov-09 8:18 
QuestionDev C++ cant accept vector?? Pin
nuttynibbles29-Nov-09 5:10
nuttynibbles29-Nov-09 5:10 
AnswerRe: Dev C++ cant accept vector?? Pin
Rajesh R Subramanian29-Nov-09 5:19
professionalRajesh R Subramanian29-Nov-09 5:19 
GeneralRe: Dev C++ cant accept vector?? [modified] Pin
nuttynibbles29-Nov-09 6:40
nuttynibbles29-Nov-09 6:40 
GeneralRe: Dev C++ cant accept vector?? Pin
Rajesh R Subramanian29-Nov-09 6:54
professionalRajesh R Subramanian29-Nov-09 6:54 
GeneralRe: Dev C++ cant accept vector?? Pin
nuttynibbles29-Nov-09 6:57
nuttynibbles29-Nov-09 6:57 
AnswerRe: Dev C++ cant accept vector?? Pin
Sarath C29-Nov-09 13:27
Sarath C29-Nov-09 13:27 
GeneralRe: Dev C++ cant accept vector?? Pin
nuttynibbles29-Nov-09 18:36
nuttynibbles29-Nov-09 18:36 
GeneralRe: Dev C++ cant accept vector?? Pin
Cedric Moonen29-Nov-09 20:25
Cedric Moonen29-Nov-09 20:25 

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.