Solved

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

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

821 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