 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Smith Guest
|
Posted: Tue Apr 20, 2004 11:37 pm Post subject: Migrating from dbExpress to dbExpress Plus |
|
|
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
|
Posted: Wed Apr 21, 2004 12:27 am Post subject: Re: Migrating from dbExpress to dbExpress Plus |
|
|
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
|
Posted: Wed Apr 21, 2004 2:12 pm Post subject: Re: Migrating from dbExpress to dbExpress Plus |
|
|
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 |
|
 |
|
|
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
|
|