Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

About C_Recordset::Open

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
ttsenis
Asked:
ttsenis
1 Solution
 
AndyAinscowCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now