 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Hernando Duque C. Guest
|
Posted: Sat Sep 20, 2003 9:45 am Post subject: Need Hints on Migrating from BDE to ADO components |
|
|
Hello,
I need to migrate a D6 BDE components application to an ADO components
application. I have many TQuery, TUpdateSQL, Cached Updates code. I will
like to kow wich is the best approach to get this and if is there an article
that tells me how to do so with as little as posible changes in the actual
code.
Thank you in advance for any repply.
Hernando.
|
|
| Back to top |
|
 |
Notra Damus Guest
|
Posted: Mon Sep 22, 2003 7:28 pm Post subject: Re: Need Hints on Migrating from BDE to ADO components |
|
|
| Quote: | I need to migrate a D6 BDE components application to an ADO components
application. I have many TQuery, TUpdateSQL, Cached Updates code. I will
like to kow wich is the best approach to get this and if is there an
article
that tells me how to do so with as little as posible changes in the actual
code.
Thank you in advance for any repply.
Hernando.
|
It would help if you could mention the database you are using.
ND
|
|
| Back to top |
|
 |
Hernando Duque C. Guest
|
Posted: Tue Sep 23, 2003 12:02 am Post subject: Re: Need Hints on Migrating from BDE to ADO components |
|
|
Notra Damus,
Thank you for your posting. I'm using MS SQL Server.
Hernando.
|
|
| Back to top |
|
 |
Notra Damus Guest
|
Posted: Tue Sep 23, 2003 6:25 am Post subject: Re: Need Hints on Migrating from BDE to ADO components |
|
|
"Hernando Duque C." <progresoft (AT) tutopia (DOT) com> wrote
| Quote: | Notra Damus,
Thank you for your posting. I'm using MS SQL Server.
Hernando.
|
Heres a brief outline of the steps required:
1) The client for SQL Server must be installed on your client PC
2) Drop an ADOConnection component and build the connection string
3) Replace all Query with ADOQuery, UpdateSQL with ADOCommand in your
application; point them to the
above connection.
In addition, you might want to make use of TClientDataset and
TDataSetProvider, so that if in the future you need
to change your database / data-access method, you would have minimum amount
of work to do.
ND
|
|
| 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
|
|