πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TProvider->OnDataRequest problem

#1421
From: CyberNIK
Date: Wed, 17 Nov 1999 00:00
12 lines
1533 bytes
Sylvain BИlanger wrote in message <80sif4$rtb15@forums.borland.com>...
>Hi,
>
>I am trying to use the OnDataRequest event to filter the table to be send to
>the client (the idea is to limit the amount of data transmitted on the web).
>
>I am following the example comming in the help of BCB3 in the TProvider
>component, but whatever i do, i always transmit the whole table.
>
>I'd like to know if there is a way to filter the table and return only the
>data that the client needs
>


Yes, some way exists.
You can set filter of table (TTable->Filter and TTble->Filtered=true) 
in RemoteDataModule by remote call of certain function of m_DataModule

CyberNIK
Technical Details
Message-ID: <80v0au$ggg24@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <80sif4$rtb15@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,b099a88497a5c0d2
X-Google-Attributes: gidfcd2b,public
From: "CyberNIK" <ncs@mail.saratov.ru>
Subject: Re: TProvider->OnDataRequest problem
Date: 1999/11/17
Message-ID: <80v0au$ggg24@forums.borland.com>
X-Deja-AN: 549830029
Content-Transfer-Encoding: base64
References: <80sif4$rtb15@forums.borland.com>
Content-Type: text/plain; charset="koi8-r"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier