Solved

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

Posted on 2007-04-03
1
377 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
Comment Utility
RecordSet doesn't work like that.  But DataSet does.  
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Truncate vs Delete 63 87
Link SQL table to Webpage 9 34
Updating variable table 9 16
SQL JOIN 6 27
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
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.
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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

763 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

9 Experts available now in Live!

Get 1:1 Help Now