Board index » cppbuilder » TDataSet Question

TDataSet Question


2003-08-21 10:48:23 AM
cppbuilder107
Couple of things I'm trying to figure out. The dataset class I'm
developing works OK, and now I want to add filters to it.
Does anyone know the "right" way to implement filters in a class derived
from TDataSet? Which methods should be overridden?
Is there a class to evaluate filter expressions for datasets?
Thanks for any ideas.
Jim
 
 

Re:TDataSet Question

"Jim Melsom" < XXXX@XXXXX.COM >wrote in message
Quote
Does anyone know the "right" way to implement filters in a
class derived from TDataSet? Which methods should be overridden?
I too am writing my own custom TDateSet but have not found *any* information
on implementing filtering, and the VCL source code I have looked at is
geared too much for BDE specifically to be useful.
Quote
Is there a class to evaluate filter expressions for datasets?
There is an undocumented class named TExprParser which the native
TClientDataSet uses internally. It is defined in the DBCommon unit. But I
do not how it is used.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
 

Re:TDataSet Question

"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote
I too am writing my own custom TDateSet but have
not found *any* information on implementing filtering
If you figure it out, let me know. I need information on searching as well.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
 

{smallsort}

Re:TDataSet Question

Remy Lebeau (TeamB) wrote:
Quote
If you figure it out, let me know. I need information on searching as well.
OK, will do.
 

Re:TDataSet Question

"Ralph Kazemier" < XXXX@XXXXX.COM >wrote in message
Quote
Note to yourself? ;)
Meaning?
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
 

Re:TDataSet Question

"Peter Agricola" < XXXX@XXXXX.COM >wrote in message
Quote
You replied to yourself that yourself should tell yourself that if
yourself
would find a solution yourself must not keep it for yourself but also tell
it to yourself so that yourself can also benefit from it. Or something
like
that <g>.
I replied to my statement of not finding any information asking Jim to
contribute if he runs across anything.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
 

Re:TDataSet Question

"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >schreef in bericht
Quote

I replied to my statement of not finding any information asking Jim to
contribute if he runs across anything.

Of course we know what you meant.
No offence, but do you ever laugh? Or is it the dutch humour?
Peter