Article View: borland.public.cppbuilder.database.multi-tier
Article #1421Re: TProvider->OnDataRequest problem
From: CyberNIK
Date: Wed, 17 Nov 1999 00:00
Date: Wed, 17 Nov 1999 00:00
12 lines
1533 bytes
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-mailReferences:
<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