Thread View: borland.public.cppbuilder.database.multi-tier
3 messages
3 total messages
Started by Sylvain B�langer
Tue, 16 Nov 1999 00:00
TProvider->OnDataRequest problem
Author: Sylvain B�langer
Date: Tue, 16 Nov 1999 00:00
Date: Tue, 16 Nov 1999 00:00
12 lines
948 bytes
948 bytes
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 Thanks, Sylvain
Re: TProvider->OnDataRequest problem
Author: 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
Re: TProvider->OnDataRequest problem
Author: oscarlu
Date: Wed, 01 Dec 1999 00:00
Date: Wed, 01 Dec 1999 00:00
22 lines
1235 bytes
1235 bytes
Hi If your client are on the web I recommend you use TQuery object to do this. TTable object is not suit web site. Sylvain B�langer <sbelanger@cetso.com> wrote in message news: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 > > Thanks, Sylvain > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads