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 

Migrating from dbExpress to dbExpress Plus

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
David Smith
Guest





PostPosted: Tue Apr 20, 2004 11:37 pm    Post subject: Migrating from dbExpress to dbExpress Plus Reply with quote



Group,

I've got about 100 TSQLDataSet objects and a TSQLConnection that I'd
like to turn into TSQLDataSetPlus and TSQLConnectionPlus respectively.
I'd rather not go to the effort of clicking-n-dragging all those icons
as that'd likely take hours and be error prone. Anyone recommend an
automated method for such a migration?

--Dave
Back to top
David Smith
Guest





PostPosted: Wed Apr 21, 2004 12:27 am    Post subject: Re: Migrating from dbExpress to dbExpress Plus Reply with quote



David Smith wrote:

Quote:
I've got about 100 TSQLDataSet objects and a TSQLConnection that I'd
like to turn into TSQLDataSetPlus and TSQLConnectionPlus respectively.
I'd rather not go to the effort of clicking-n-dragging all those icons
as that'd likely take hours and be error prone. Anyone recommend an
automated method for such a migration?

Well, Dave. Just edit the .dfm file and use your favorite editor's
search & replace function. :)

Another question: Anyone know of docs on the TSQLConnectionPlus's
"options" property? Specifically, the coBcdToInteger sub property?

--Dave

Back to top
Thomas Miller
Guest





PostPosted: Wed Apr 21, 2004 2:12 pm    Post subject: Re: Migrating from dbExpress to dbExpress Plus Reply with quote



Ideally you want to force everything to the most common data type so
you don't have to worry about this in the future: FmtBCD. I use
coBcdToFmtBCD and just use .AsFloat for everything. If you really
need it to be an integer, use .AsInteger or Trunc(.AsFloat). I
have never needed to do this.

There should be a ReadMe_Doc.rtf in the zip file.

David Smith wrote:

Quote:
David Smith wrote:

I've got about 100 TSQLDataSet objects and a TSQLConnection that I'd
like to turn into TSQLDataSetPlus and TSQLConnectionPlus respectively.
I'd rather not go to the effort of clicking-n-dragging all those icons
as that'd likely take hours and be error prone. Anyone recommend an
automated method for such a migration?


Well, Dave. Just edit the .dfm file and use your favorite editor's
search & replace function. :)

Another question: Anyone know of docs on the TSQLConnectionPlus's
"options" property? Specifically, the coBcdToInteger sub property?

--Dave

--
Thomas Miller
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://sourceforge.net/projects/dbexpressplus

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) 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.