Click here to Skip to main content
16,010,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a must have a solution Registry problem !! Pin
JWT12-Jan-03 1:19
JWT12-Jan-03 1:19 
GeneralShowWindow() and OnPaint Pin
raner11-Jan-03 8:39
raner11-Jan-03 8:39 
GeneralRe: ShowWindow() and OnPaint Pin
Mazdak11-Jan-03 8:53
Mazdak11-Jan-03 8:53 
GeneralRe: ShowWindow() and OnPaint Pin
Mazdak11-Jan-03 9:38
Mazdak11-Jan-03 9:38 
GeneralTextbox problem Pin
Mazdak11-Jan-03 8:36
Mazdak11-Jan-03 8:36 
GeneralRe: Textbox problem Pin
PJ Arends11-Jan-03 9:02
professionalPJ Arends11-Jan-03 9:02 
GeneralRe: Textbox problem Pin
Mazdak11-Jan-03 9:39
Mazdak11-Jan-03 9:39 
GeneralDisconnected ADO Recordset Pin
Ranjan Banerji11-Jan-03 5:58
Ranjan Banerji11-Jan-03 5:58 
Here is my problem.

My code reveives a ADO recordset. I have no control over the cursor types etc on this recordset. I need to copy this recordset to another Recordset. The new recordset is not connected to any database or any source.

Then I am to do stuff to the data in the new recordset, delete some of the rows and then pass the recordset on to a module that expects a Recordset as input.

How do I create a recordset, and then copy data from an existing recordset to this one. Each time I try some code it blows up. Is it even possible?

I tried something like:

while not eof
localRecordset.AddNew //It blows up here if the recordset is not open.

If I do recordset.Open //Then I do not know what parameters to open it with

Thanks
GeneralRun My Program Pin
arnaba11-Jan-03 3:10
arnaba11-Jan-03 3:10 
GeneralRe: Run My Program Pin
Rickard Andersson2011-Jan-03 3:21
Rickard Andersson2011-Jan-03 3:21 
GeneralRe: Run My Program Pin
Paul M Watt11-Jan-03 5:54
mentorPaul M Watt11-Jan-03 5:54 
QuestionDebugging vc++7 in win98?? Pin
Stefan Dahlin11-Jan-03 2:52
Stefan Dahlin11-Jan-03 2:52 
AnswerRe: Debugging vc++7 in win98?? Pin
Tim Smith11-Jan-03 3:53
Tim Smith11-Jan-03 3:53 
GeneralRe: Debugging vc++7 in win98?? Pin
Stefan Dahlin11-Jan-03 9:42
Stefan Dahlin11-Jan-03 9:42 
GeneralPrinting problems in W9x & W Me Pin
DRemedi11-Jan-03 2:37
DRemedi11-Jan-03 2:37 
GeneralCreate Bitmap file from HBITMAP in WindowsNT Pin
Chintan11-Jan-03 1:41
Chintan11-Jan-03 1:41 
GeneralRe: Create Bitmap file from HBITMAP in WindowsNT Pin
Nitron11-Jan-03 5:01
Nitron11-Jan-03 5:01 
Generalmultiple views in SDI Pin
Didaa11-Jan-03 0:17
Didaa11-Jan-03 0:17 
GeneralRe: multiple views in SDI Pin
Mazdak11-Jan-03 0:29
Mazdak11-Jan-03 0:29 
GeneralRe: multiple views in SDI Pin
JohnJ11-Jan-03 3:30
JohnJ11-Jan-03 3:30 
GeneralRe: multiple views in SDI Pin
Anonymous13-Jan-03 7:22
Anonymous13-Jan-03 7:22 
GeneralRead Hexidecimal Pin
Paul M Watt10-Jan-03 21:52
mentorPaul M Watt10-Jan-03 21:52 
GeneralRe: Read Hexidecimal Pin
Jon Sagara10-Jan-03 22:08
Jon Sagara10-Jan-03 22:08 
GeneralRe: Read Hexidecimal Pin
Paul M Watt10-Jan-03 23:00
mentorPaul M Watt10-Jan-03 23:00 
GeneralRe: Read Hexidecimal Pin
PJ Arends10-Jan-03 22:19
professionalPJ Arends10-Jan-03 22:19 

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.