 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Joćo A. Toledo Guest
|
Posted: Fri Sep 24, 2004 6:18 pm Post subject: TIntegerField x TFMTBCDField |
|
|
Hi,
I have a large application that was compiled with Delphi 6; it has lots
of fields defined at design time as TIntegerField; now I'm compiling it
with Delphi 7 with success, but when I try to run it it complains that a
TFmtBCDField was found when a TIntegerField was expected. I've seen a
lot of articles about why TFmtBCD must be used and so, but is there a
way to go on using TIntegerFields? It would be to "painful" to open
every form and change field types...
I thought about converting everything with a text replacement tool, but
then I get problems with TRxMemoryData and TJvMemoryData that don't
recognize TFmtBCDFields...
Any idea?
TIA,
Joćo
|
|
| Back to top |
|
 |
Joćo A. Toledo Guest
|
Posted: Fri Sep 24, 2004 6:37 pm Post subject: Re: TIntegerField x TFMTBCDField |
|
|
Joćo A. Toledo wrote:
| Quote: | Hi,
I have a large application that was compiled with Delphi 6; it has lots
of fields defined at design time as TIntegerField; now I'm compiling it
with Delphi 7 with success, but when I try to run it it complains that a
TFmtBCDField was found when a TIntegerField was expected. I've seen a
lot of articles about why TFmtBCD must be used and so, but is there a
way to go on using TIntegerFields? It would be to "painful" to open
every form and change field types...
I thought about converting everything with a text replacement tool, but
then I get problems with TRxMemoryData and TJvMemoryData that don't
recognize TFmtBCDFields...
Any idea?
TIA,
Joćo
Sorry... I forgot to say I'm using dbExpress and Firebird 1.5 |
Thanks again!
|
|
| Back to top |
|
 |
Jason Smith Guest
|
Posted: Sat Sep 25, 2004 4:28 am Post subject: Re: TIntegerField x TFMTBCDField |
|
|
I guess u have the integer field in FireBird. If u want them to map the
field to TFMTBcdField, u have to make the field in FB like NUMERIC(18, 0) or
so but not integer field.
"Joćo A. Toledo" <jt.lista (AT) uol (DOT) com.br> wrote
| Quote: | Hi,
I have a large application that was compiled with Delphi 6; it has lots
of fields defined at design time as TIntegerField; now I'm compiling it
with Delphi 7 with success, but when I try to run it it complains that a
TFmtBCDField was found when a TIntegerField was expected. I've seen a
lot of articles about why TFmtBCD must be used and so, but is there a
way to go on using TIntegerFields? It would be to "painful" to open
every form and change field types...
I thought about converting everything with a text replacement tool, but
then I get problems with TRxMemoryData and TJvMemoryData that don't
recognize TFmtBCDFields...
Any idea?
TIA,
Joćo
|
|
|
| Back to top |
|
 |
Joćo A. Toledo Guest
|
Posted: Mon Sep 27, 2004 11:22 am Post subject: Re: TIntegerField x TFMTBCDField |
|
|
Jason Smith wrote:
| Quote: | I guess u have the integer field in FireBird. If u want them to map the
field to TFMTBcdField, u have to make the field in FB like NUMERIC(18, 0) or
so but not integer field.
Thank you. I'll study this alternative! |
Joćo Toledo
|
|
| 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
|
|