 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bennie Strecker Guest
|
Posted: Wed Jul 30, 2003 8:27 am Post subject: What is the best class to inherit a CustomQuery component fr |
|
|
Hi All,
I want to create a custom query component, which wraps a SDK ( Accounting
Package ). I want to be able to type in the query and have it parsed so that
I know which SDK call to use to return the data to the query. What base
class should I use to inherit this component from, I don`t want to do most
of the query functionality again ( Reinvent the Wheel )???
Thanks in Advance
Bennie
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Wed Jul 30, 2003 1:38 pm Post subject: Re: What is the best class to inherit a CustomQuery componen |
|
|
"Bennie Strecker" <bennies (AT) vertebrae (DOT) co.za> wrote in message
[email]3f278161 (AT) newsgroups (DOT) borland.com[/email]...
| Quote: | I want to create a custom query component, which wraps a SDK ( Accounting
Package ). I want to be able to type in the query and have it parsed so
that I know which SDK call to use to return the data to the query. What
base class should I use to inherit this component from, I don`t want to do
most of the query functionality again ( Reinvent the Wheel )???
|
None of the database access libraries that come with Delphi (ADO, DBX, BDE)
actually have any real query capability in them; they leave it for the
"other side" to deal with.
Having said that, my suggestion is that you look into writing an ODBC or OLE
DB driver instead.
Cheers,
Ignacio
--
Jesus is coming... EVERYONE LOOK BUSY!
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Wed Jul 30, 2003 2:22 pm Post subject: Re: What is the best class to inherit a CustomQuery componen |
|
|
"Bennie Strecker" <bennies (AT) vertebrae (DOT) co.za> wrote in message
[email]3f27d337 (AT) newsgroups (DOT) borland.com[/email]...
| Quote: | Thanks for the Advise Ignacio, where would I find a sample on how to write
a ODBC driver? ( I haven`t tried writing a ODBC driver)?
|
The definitive source for writing both ODBC and OLE DB drivers if
Microsoft's Platform SDK:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
Look in the documentation under Data ServicesMDAC SDK and for the samples
in $(PSDK)Samplesdataaccess.
Cheers,
Ignacio
--
Jesus is coming... EVERYONE LOOK BUSY!
|
|
| Back to top |
|
 |
Bennie Strecker Guest
|
Posted: Wed Jul 30, 2003 2:26 pm Post subject: Re: What is the best class to inherit a CustomQuery componen |
|
|
Thanks Ignacio
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote
| Quote: | "Bennie Strecker" <bennies (AT) vertebrae (DOT) co.za> wrote in message
[email]3f27d337 (AT) newsgroups (DOT) borland.com[/email]...
Thanks for the Advise Ignacio, where would I find a sample on how to
write
a ODBC driver? ( I haven`t tried writing a ODBC driver)?
The definitive source for writing both ODBC and OLE DB drivers if
Microsoft's Platform SDK:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
Look in the documentation under Data ServicesMDAC SDK and for the samples
in $(PSDK)Samplesdataaccess.
Cheers,
Ignacio
--
Jesus is coming... EVERYONE LOOK BUSY!
|
|
|
| Back to top |
|
 |
Iman L Crawford Guest
|
Posted: Wed Jul 30, 2003 2:34 pm Post subject: Re: What is the best class to inherit a CustomQuery componen |
|
|
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote in
news:3f27ca6f (AT) newsgroups (DOT) borland.com:
| Quote: | Having said that, my suggestion is that you look into writing an ODBC
or OLE DB driver instead.
|
or a TDataSet descendant that supports filters. That might be simpler.
--
Iman
"If I had to live my life all over again," said Woody Allen, "I'd do it all
exactly the same only I wouldn't read Beowulf."
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|