Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to load bitmap image in a sub-window? Pin
Naveen27-Feb-06 20:51
Naveen27-Feb-06 20:51 
AnswerRe: how to load bitmap image in a sub-window? Pin
Hamid_RT27-Feb-06 21:04
Hamid_RT27-Feb-06 21:04 
AnswerRe: how to load bitmap image in a sub-window? Pin
Stephen Hewitt27-Feb-06 21:23
Stephen Hewitt27-Feb-06 21:23 
QuestionVisual studio is not responding when trying to add file Pin
BiswaR27-Feb-06 20:20
BiswaR27-Feb-06 20:20 
AnswerRe: Visual studio is not responding when trying to add file Pin
mbue27-Feb-06 21:32
mbue27-Feb-06 21:32 
GeneralRe: Visual studio is not responding when trying to add file Pin
BiswaR27-Feb-06 22:21
BiswaR27-Feb-06 22:21 
Questionhow to forbid printing by local printer or network printer? Pin
szcococut27-Feb-06 19:53
szcococut27-Feb-06 19:53 
Questionhelp with CArray object Pin
SWDevil27-Feb-06 19:36
SWDevil27-Feb-06 19:36 
Hi,

I have an MFC application in which I take records from a table in one database (Let's say database A, table A), and insert them into a table in another database (Let's say database B, table B). This is a sort of "database conversion".

The thing is, that in database A the record numbers are not necessarily consecutive (for instance there could be records #1,2 and 4), But in database B the records are inserted to table B with an automatic record number.

For instance:

Table A (Database A) Table B (Database B)
-------------------- --------------------
record #1 ------------> record #1
record #2 ------------> record #2
record #4 ------------> record #3

My problem is that I need to save the record numbers of the records in database/table A, in order to use them later (for database relationship purposes).
(For instance - i need to know that record #3 in database B was actually record #4 in database A).

I used a CArray object to keep the indexes of the records of database/table A, but after I do the "database conversion" I need to use the indexes (of database A) in another application. how can I do this?

By the way, I am using C++ (and MFC) in .Net 2003.

AnswerRe: help with CArray object Pin
The-Lion-King27-Feb-06 19:48
The-Lion-King27-Feb-06 19:48 
GeneralRe: help with CArray object Pin
SWDevil27-Feb-06 19:53
SWDevil27-Feb-06 19:53 
QuestionRe: help with CArray object Pin
David Crow28-Feb-06 3:02
David Crow28-Feb-06 3:02 
Questioninitialization of member variables Pin
Kranti125198427-Feb-06 18:28
Kranti125198427-Feb-06 18:28 
AnswerRe: initialization of member variables Pin
khan++27-Feb-06 19:21
khan++27-Feb-06 19:21 
AnswerRe: initialization of member variables Pin
Vinaya27-Feb-06 19:24
Vinaya27-Feb-06 19:24 
GeneralRe: initialization of member variables Pin
Kranti125198427-Feb-06 19:32
Kranti125198427-Feb-06 19:32 
GeneralRe: initialization of member variables Pin
Vinaya27-Feb-06 19:40
Vinaya27-Feb-06 19:40 
GeneralRe: initialization of member variables Pin
sunit527-Feb-06 19:53
sunit527-Feb-06 19:53 
GeneralRe: initialization of member variables Pin
Salad Bar27-Feb-06 19:43
Salad Bar27-Feb-06 19:43 
GeneralRe: initialization of member variables Pin
Kranti125198427-Feb-06 19:46
Kranti125198427-Feb-06 19:46 
QuestionThe Destructor can't cleanup the memory? Pin
signbit27-Feb-06 18:17
signbit27-Feb-06 18:17 
AnswerRe: The Destructor can't cleanup the memory? Pin
Nibu babu thomas27-Feb-06 18:33
Nibu babu thomas27-Feb-06 18:33 
GeneralRe: The Destructor can't cleanup the memory? Pin
signbit27-Feb-06 18:36
signbit27-Feb-06 18:36 
GeneralRe: The Destructor can't cleanup the memory? Pin
Nibu babu thomas27-Feb-06 18:47
Nibu babu thomas27-Feb-06 18:47 
GeneralRe: The Destructor can't cleanup the memory? Pin
signbit27-Feb-06 18:51
signbit27-Feb-06 18:51 
GeneralRe: The Destructor can't cleanup the memory? Pin
Nick_Kisialiou27-Feb-06 19:27
Nick_Kisialiou27-Feb-06 19:27 

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.