🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO. Delphi _Recordset

#598
From: Mark Guerrieri
Date: Mon, 03 Oct 2005 16:09
32 lines
1765 bytes
1- Save the Recordset to XML
2- Transport the XML over TCP/IP
3- Create anew Recordset object at the remote end
4- Load the XML into the new recordset object

Mark

"Dmitry Konnov" <dmitry@weblinedesign.biz> wrote in message
news:4331999f@newsgroups.borland.com...
> 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: <43415733$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.germany.com!newsfeed.utanet.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <4331999f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,fd7ce3fe06b44a66
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Guerrieri" <mguerrieri@nospam_cmsgrp.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4331999f@newsgroups.borland.com>
Subject: Re: ADO. Delphi _Recordset
Date: Mon, 3 Oct 2005 12:09:28 -0400
Lines: 34
Organization: Creative Marketing Strategies
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 209.50.174.82
Message-ID: <43415733$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1128355635 209.50.174.82 (3 Oct 2005 09:07:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.germany.com!newsfeed.utanet.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail