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 

TIntegerField x TFMTBCDField

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Joćo A. Toledo
Guest





PostPosted: Fri Sep 24, 2004 6:18 pm    Post subject: TIntegerField x TFMTBCDField Reply with 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





PostPosted: Fri Sep 24, 2004 6:37 pm    Post subject: Re: TIntegerField x TFMTBCDField Reply with quote



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





PostPosted: Sat Sep 25, 2004 4:28 am    Post subject: Re: TIntegerField x TFMTBCDField Reply with 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.

"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





PostPosted: Mon Sep 27, 2004 11:22 am    Post subject: Re: TIntegerField x TFMTBCDField Reply with quote

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
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.