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

x
?
Solved

About C_Recordset::Open

Posted on 2003-11-26
2
Medium Priority
?
214 Views
Last Modified: 2013-11-20
Hi,
   i use the ActiveX ADO to a Microsoft access. The Ado object provides a function SetRecordSource to set the SQL command string and the GetRecordset to have a handle to a C_Recordset for DB manipulation. The problem is that in order to make continiously SQL requests i find handy to use the C_Recordset::Open(). I have a difficulty to insert a VARIANT with the pDispatch of the ActiveConnection as a second argument for the Open function. First of all how do i get this VT_DISPATCH value . Any ideas or examples?

   Regards,
      Teo.

0
Comment
Question by:ttsenis
[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
2 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 150 total points
ID: 9825487
You might want to look at
www.codeproject.com/database/caaadoclass1.asp

The classes there are very usefull.  (I use a modified version for ADO onto MS Access).
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

670 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