Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2007-04-03
1
Medium Priority
?
387 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 1000 total points
ID: 18847320
RecordSet doesn't work like that.  But DataSet does.  
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

715 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