Solved

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

Posted on 2007-04-03
1
379 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
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now