BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need Hints on Migrating from BDE to ADO components

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Hernando Duque C.
Guest





PostPosted: Sat Sep 20, 2003 9:45 am    Post subject: Need Hints on Migrating from BDE to ADO components Reply with quote



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





PostPosted: Mon Sep 22, 2003 7:28 pm    Post subject: Re: Need Hints on Migrating from BDE to ADO components Reply with quote



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





PostPosted: Tue Sep 23, 2003 12:02 am    Post subject: Re: Need Hints on Migrating from BDE to ADO components Reply with quote



Notra Damus,

Thank you for your posting. I'm using MS SQL Server.

Hernando.



Back to top
Notra Damus
Guest





PostPosted: Tue Sep 23, 2003 6:25 am    Post subject: Re: Need Hints on Migrating from BDE to ADO components Reply with quote


"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.