Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"VIRTUAL" ADO RECORDSET

Status
Not open for further replies.

MickeD

Programmer
Feb 20, 2000
54
Hi,<br><br>Is it possible to create an &quot;unbound&quot; ADO recordset?<br><br>I need to send some data from activeX Dll to client application as ADO.RECORDSET.&nbsp;&nbsp;But we have stored data in Advantage DB Server's table and i can't open it using ADO<br>(I use API functions of Advantage)<br>How can I create an ADO recordset without having database?&nbsp;&nbsp;<br><br>
 
(this example uses Late binding that uses CreateObject)<br>Dim someRS as Object<br>Set someRS = CreateObject(&quot;ADODB.Recordset&quot;)<br><br>someRS.append &quot;Field1&quot;, adChar<br>someRS.append &quot;Field2&quot;, adInt<br><br>someRS.Open<br><br>someRS.AddNew<br>someRS(&quot;Field1&quot;) = &quot;something&quot;<br>someRS(&quot;Field2&quot;) = 3<br>someRS.Update<br><br><br>someRS.Close<br><br>hope that helped, and you didnt open a single connection or database at all. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top