Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Data Storage? Pin
ThatsAlok8-Jul-05 20:54
ThatsAlok8-Jul-05 20:54 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 21:30
professionalS Douglas8-Jul-05 21:30 
GeneralRe: Data Storage? Pin
S. Senthil Kumar8-Jul-05 21:35
S. Senthil Kumar8-Jul-05 21:35 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:09
professionalS Douglas8-Jul-05 22:09 
GeneralRe: Data Storage? Pin
S. Senthil Kumar8-Jul-05 22:16
S. Senthil Kumar8-Jul-05 22:16 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:23
professionalS Douglas8-Jul-05 22:23 
GeneralRe: Data Storage? Pin
Cedric Moonen8-Jul-05 22:19
Cedric Moonen8-Jul-05 22:19 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:27
professionalS Douglas8-Jul-05 22:27 
cedric moonen wrote:
Yes, that's it. You create a structure that contains all the fields for one 'worker' (so contains all the data for one 'row'). And then you can use the vector:

std::vector<workored> YourVector;
WORKORDER Data;
// Fill Data
//
//
YourVector.push_back(Data);
// Fill other structures
//
//

Then, to retrieve one data of the vector:

WORKORDER Data = YourVector[0];

Then you can work with the structure.


Perfect! Just what I needed to make the necessary connections in the old Gray matter.

Thank You, Cedric. Smile | :)

-------------------------------
GeneralRe: Data Storage? Pin
ThatsAlok8-Jul-05 22:42
ThatsAlok8-Jul-05 22:42 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:49
professionalS Douglas8-Jul-05 22:49 
GeneralRe: Data Storage? Pin
S Douglas9-Jul-05 20:38
professionalS Douglas9-Jul-05 20:38 
AnswerRe: Data Storage? Pin
John R. Shaw8-Jul-05 22:03
John R. Shaw8-Jul-05 22:03 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:22
professionalS Douglas8-Jul-05 22:22 
AnswerRe: Data Storage? Pin
Ravi Bhavnani9-Jul-05 7:00
professionalRavi Bhavnani9-Jul-05 7:00 
GeneralRe: Data Storage? Pin
S Douglas9-Jul-05 18:04
professionalS Douglas9-Jul-05 18:04 
Generalstrange error in vc Pin
wrb3028-Jul-05 19:03
wrb3028-Jul-05 19:03 
GeneralRe: strange error in vc Pin
Jack Puppy8-Jul-05 20:11
Jack Puppy8-Jul-05 20:11 
GeneralRe: strange error in vc Pin
wrb3029-Jul-05 21:06
wrb3029-Jul-05 21:06 
GeneralRe: strange error in vc Pin
John R. Shaw8-Jul-05 20:57
John R. Shaw8-Jul-05 20:57 
Generalvisual c++ custom controls. Pin
rich1358-Jul-05 15:29
rich1358-Jul-05 15:29 
GeneralRe: visual c++ custom controls. Pin
John R. Shaw8-Jul-05 16:30
John R. Shaw8-Jul-05 16:30 
GeneralCRichEditCtrl Pin
John R. Shaw8-Jul-05 15:23
John R. Shaw8-Jul-05 15:23 
GeneralRe: CRichEditCtrl Pin
Blake V. Miller8-Jul-05 17:19
Blake V. Miller8-Jul-05 17:19 
GeneralRe: CRichEditCtrl Pin
John R. Shaw8-Jul-05 18:13
John R. Shaw8-Jul-05 18:13 
GeneralRe: CRichEditCtrl Pin
Jose Lamas Rios9-Jul-05 17:40
Jose Lamas Rios9-Jul-05 17:40 

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.