🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #93

How can server pass back virtual dataset?

#93
From: St�phane
Date: Tue, 31 May 2005 18:13
20 lines
1531 bytes
How can a server function send data to the client?
The DCOM-MIDAS examples only explained how to use a TDataProvider with a 
query, not when the data comes from a function.


In the following example, how would I implement SendRecord() ?


   for( dataset->First(); ! dataset->Eof; dataset->Next() )
   {
      if( TestData(dataset) )
         SendRecord( dataset ) ;
   }


There must be an easy way. I would think this to be basic functionality; but 
I couldn't find examples.


St�phane 
Technical Details
Message-ID: <429ca953$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,1af50c7757b62a08,start
X-Google-Attributes: gidfcd2b,public
X-Google-Language: ENGLISH,ASCII
Reply-To: "St�phane" <stephane@compass-cama.com>
From: "St�phane" <stephane@compass-cama.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: How can server pass back virtual dataset?
Date: Tue, 31 May 2005 12:13:41 -0600
Lines: 22
Organization: Compass
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 142.179.196.17
Message-ID: <429ca953$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117563219 142.179.196.17 (31 May 2005 11:13:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail