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

C / C++ / MFC

 
GeneralRe: Extract data from database Pin
David Crow29-Apr-04 4:41
David Crow29-Apr-04 4:41 
GeneralRe: Extract data from database Pin
dreamerzz29-Apr-04 4:48
dreamerzz29-Apr-04 4:48 
GeneralRe: Extract data from database Pin
David Crow29-Apr-04 4:54
David Crow29-Apr-04 4:54 
GeneralRe: Extract data from database Pin
dreamerzz29-Apr-04 4:57
dreamerzz29-Apr-04 4:57 
GeneralRe: Extract data from database Pin
David Crow29-Apr-04 5:03
David Crow29-Apr-04 5:03 
GeneralRe: Extract data from database Pin
gUrM33T29-Apr-04 4:06
gUrM33T29-Apr-04 4:06 
GeneralRe: Extract data from database Pin
dreamerzz29-Apr-04 4:08
dreamerzz29-Apr-04 4:08 
GeneralRe: Extract data from database Pin
Kevin McFarlane29-Apr-04 4:32
Kevin McFarlane29-Apr-04 4:32 
Using a CArray (or STL vector) is far easier than trying to get the data from a database. There will be examples aplenty on codeproject

However, if you really want to use a database, what database do you have - MS Access?

You don't say whether you're using MFC or just doing straight C++. If MFC then probably the easiest method is to use the DAO classes. Though this might be an old-fashioned way of going about it these days. You could use ADO but, if I recall, MFC does not have native ADO classes - though it's still possible to use it. the point is that these methods are all somewhat more elaborate than using a database.

Kevin
GeneralRe: Extract data from database Pin
dreamerzz29-Apr-04 4:37
dreamerzz29-Apr-04 4:37 
GeneralRe: Extract data from database Pin
David Crow29-Apr-04 4:47
David Crow29-Apr-04 4:47 
GeneralRe: Extract data from database Pin
dreamerzz29-Apr-04 4:49
dreamerzz29-Apr-04 4:49 
GeneralRe: Extract data from database Pin
David Crow29-Apr-04 4:59
David Crow29-Apr-04 4:59 
GeneralRe: Extract data from database Pin
dreamerzz29-Apr-04 5:05
dreamerzz29-Apr-04 5:05 
GeneralRe: Extract data from database Pin
David Crow29-Apr-04 5:13
David Crow29-Apr-04 5:13 
GeneralRe: Extract data from database Pin
gUrM33T29-Apr-04 4:35
gUrM33T29-Apr-04 4:35 
GeneralRe: Extract data from database Pin
dreamerzz29-Apr-04 5:07
dreamerzz29-Apr-04 5:07 
GeneralRe: Extract data from database Pin
gUrM33T29-Apr-04 7:57
gUrM33T29-Apr-04 7:57 
GeneralRe: Extract data from database Pin
David Crow29-Apr-04 5:10
David Crow29-Apr-04 5:10 
GeneralPls Helpl Pin
ThatsAlok29-Apr-04 2:41
ThatsAlok29-Apr-04 2:41 
GeneralRe: Pls Helpl Pin
22491729-Apr-04 4:15
22491729-Apr-04 4:15 
GeneralRe: Pls Helpl Pin
ThatsAlok4-May-04 20:53
ThatsAlok4-May-04 20:53 
QuestionHow to emulate a console window? Pin
Maxime Labelle29-Apr-04 2:06
Maxime Labelle29-Apr-04 2:06 
AnswerRe: How to emulate a console window? Pin
David Crow29-Apr-04 2:15
David Crow29-Apr-04 2:15 
GeneralRe: How to emulate a console window? Pin
Maxime Labelle29-Apr-04 2:55
Maxime Labelle29-Apr-04 2:55 
GeneralRe: How to emulate a console window? Pin
David Crow29-Apr-04 3:39
David Crow29-Apr-04 3:39 

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.