| View previous topic :: View next topic |
| Author |
Message |
Jim Melsom Guest
|
Posted: Thu Aug 21, 2003 2:48 am Post subject: TDataSet Question |
|
|
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
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Aug 21, 2003 8:29 am Post subject: Re: TDataSet Question |
|
|
"Jim Melsom" <jmm (AT) uniserve (DOT) com> wrote
| 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 ([url]http://www.grisoft.com)[/url].
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Aug 21, 2003 8:49 pm Post subject: Re: TDataSet Question |
|
|
"Remy Lebeau (TeamB)" <gambit47 (AT) yahoo (DOT) com> wrote
| 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 ([url]http://www.grisoft.com)[/url].
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
|
|
| Back to top |
|
 |
Jim Melsom Guest
|
Posted: Fri Aug 22, 2003 3:17 am Post subject: 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.
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri Aug 22, 2003 5:30 pm Post subject: Re: TDataSet Question |
|
|
"Ralph Kazemier" <ralph.kazemier (AT) jess (DOT) nl> wrote
| Quote: | Note to yourself?
|
Meaning?
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri Aug 22, 2003 7:20 pm Post subject: Re: TDataSet Question |
|
|
"Peter Agricola" <spammy (AT) spammer (DOT) com> wrote
| 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 ([url]http://www.grisoft.com)[/url].
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
|
|
| Back to top |
|
 |
Peter Agricola Guest
|
Posted: Fri Aug 22, 2003 8:46 pm Post subject: Re: TDataSet Question |
|
|
"Remy Lebeau (TeamB)" <gambit47 (AT) yahoo (DOT) com> schreef in bericht
news:3f46795e$1 (AT) newsgroups (DOT) borland.com...
| 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
|
|
| Back to top |
|
 |
|