Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: interbase float field on firedac



Permlink Replies: 2 - Last Post: Jul 17, 2017 10:12 PM Last Post By: Ahmet Nuri DENİZ Threads: [ Previous | Next ]
Liste Listeler

Posts: 49
Registered: 7/26/07
interbase float field on firedac
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 17, 2017 1:48 PM
Hi
I have a sqlite db and I move it to interbase db.
But when I a type conversion error.

For example
in sqlite db fload fields
in firedac fload Tfiled

same field in ib fload
but in firedac it is Tsingle filed
but normaly it should be tflaod field
how can ı fix that?
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: interbase float field on firedac
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 17, 2017 9:50 PM   in response to: Liste Listeler in response to: Liste Listeler
Try to use DOUBLE PRECISION as a column type.

--
With best regards,
Dmitry
Ahmet Nuri DENİZ

Posts: 23
Registered: 6/26/13
Re: interbase float field on firedac
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 17, 2017 10:12 PM   in response to: Liste Listeler in response to: Liste Listeler
Liste Listeler wrote:
Hi
I have a sqlite db and I move it to interbase db.
But when I a type conversion error.

For example
in sqlite db fload fields
in firedac fload Tfiled

same field in ib fload
but in firedac it is Tsingle filed
but normaly it should be tflaod field
how can ı fix that?

UserSession.Database2.FormatOptions.MapRules.Add(dtSingle, dtDouble);
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02