🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #592

ADO. Delphi _Recordset

#592
From: Dmitry Konnov
Date: Wed, 21 Sep 2005 17:33
20 lines
1326 bytes
Hello,

I want to transport Recordset of ADO components over TCP/IP as Variant

Everything goes well if i try  save TADOQuery.Recordset in Variant variable:
var
a_Variant : Variant;
begin
  a_Variant := Query1.Recordset;
end;

But if i try to assign Variant back to Recordset

 Query2.Recordset := a_Variant;

i get error - can not assign Variant to _Recordset

Please help.

Dmitry Konnov
Technical Details
Message-ID: <4331999f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,fd7ce3fe06b44a66,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Dmitry Konnov" <dmitry@weblinedesign.biz>
From: "Dmitry Konnov" <dmitry@weblinedesign.biz>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADO. Delphi _Recordset
Date: Wed, 21 Sep 2005 21:33:24 +0400
Lines: 22
Organization: weblinedesign
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 212.58.203.114
Message-ID: <4331999f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127324063 212.58.203.114 (21 Sep 2005 10:34:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail