In any event, switching to dBase tables will. The problem is in the
underlying philosophy. Changing drivers won't fix that.
Also, TADODataSet seems to be missing some significant methods, like
SetRange, GotoKey, etc. If you're using TTables, it looks to me like it
would take significant rewriting to make an existing app work with ADO.
Paul / ColumbuSoft
www.columbusoft.com
Ed Davis <eld...@earthlink.net> wrote in message
news:392B11B1...@earthlink.net...
--
Bill Todd (TeamB)
(Questions received via email cannot be answered.)
If you move to a SQL database server, any SQL database server, and you want
good performance you will have to replace all of your TTables with TQuerys.
You will probably also have to change the architecture of your app so users
select a small set of records, do whatever they need to do with those
records, then select another set of records to work with.
Thanks in advance for your response.
+Mines
"Bill Todd (TeamB)" wrote:
> You cannot use ADO to update a Paradox table without using the BDE. The only
> way to get away from the BDE is to change databases.
>
"Bill Todd (TeamB)" wrote:
Thanks for your response.
+Mines
I'm sorry Bill, but I am a bit confused now. After responding to your message I
checked the Borland site for ADO Express and realized that the TADOTables that you
mention on your Paradox inventory convertion to MSSQL 7.0(which gave you poor
results), are indeded ADO Express components. What is the difference between the
two projects you mentioned, if they both are using ADO Express??
I guess I don't understand what you mean by using ADO Express if the results are
not going to be good.
Thanks in advance for clarifying this for me.
+Mine
>Also, have you heard anything positive regarding ODBC
>Express? As I understand it. This third party bypasses the BDE and is very
>speedy.
I have used ODBC express and I and it has worked very well in the applications I
have used it for. It does not need BDE but you do have to have the ODBC driver
you want to use installed on every machine you want to use the application on.
If I needed to create an application that could use different database backends
this would be my database tool of choice. However If I know that I would be
using MSQL I would go with an ADO component because the support for MSQL is very
good and I expect that MS development will give its highest priority for future
development of its database to work with ADO.
--
Brian Bushay (TeamB)
Bbu...@NMPLS.com
The TADOtable is one of the components in ADOExpress. It is intended primarily
as an easy replacement in existing applications for a Ttable. To understand
why it did not work well in Bill's application you need to understand some of
the differences between using a networked database like Paradox and a client
server backend like MSQL.
When you create a Paradox application and you connect a large table to a Ttable
you can create an application where you let the user browse through all the
records in the database. Paradox performs this kind of access very well.
SQL back ends do not browse tables well. With an SQL backend you need to set it
up so that it fetches a small number of records which it is very efficient at.
What the TadoTable does when you open it is read all of the records in the table
it is connected to into memory. Once the records are in memory access is very
fast but there is a big performance hit opening the table and reading all the
records.
The better alternative is to use a TadoDataset and set up the appliction so that
it provides and SQL statement to the client server backend that will return a
limited number of records.