Solved

How do I create/populate a ADODB Recordset (C++) that doesn't actually connect to a DB.

Posted on 2007-04-03
1
385 Views
Last Modified: 2013-11-17
This is an ongoing battle I'm fighting... here's part two.
I'll leave out the first part because it is irrelevant.

I have a COM object that takes in a bunch of data that needs to be wrapped up in an ADO Recordset and sent on to another COM object.  A couple of you have helped me thus far, but I still am too dumb to get it right.

Can some one give the syntax I need (in C++) to:
1) Create a new empty ADODB Recordset that does not need (nor will it ever need) to actually connect to a DB.
2) Populate that Recordset with a new fields/values

Thanks much!
0
Comment
Question by:krussell222
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 42

Accepted Solution

by:
dqmq earned 500 total points
ID: 18847320
RecordSet doesn't work like that.  But DataSet does.  
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question