Zeos 6.6.2 Delphi 2006 Num-Field without Decimal in TBEdit

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Alfredo
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 07.11.2008, 16:47

Zeos 6.6.2 Delphi 2006 Num-Field without Decimal in TBEdit

Post by Alfredo »

A NumField with Scale 2 shows in TBEdit 1501.
A Float field shows in TBEdit 1501,01.

With flamerobin I see, that in the Numfield is 1501.01.

Alfred
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Using Firebird 2.1.1 and Zeos 6.6.4 and Delphi 7 DBEdit display correctly numeric fields (at least on my pc :wink: )
Alfredo
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 07.11.2008, 16:47

Post by Alfredo »

When I will change firebird CS from 2.0.3 to 2.1.1 must I change my existing *.fdb?

With kind regards
Alfred
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

You can, using Firebird 2.0.3, open FlameRobin, do a db backup.
Then close Flamerobin, uninstall Firebird 2.0.3
Install Firebird 2.1.1, open FlameRobin and do a db restore.

After that your db works with Firebird 2.1.1

On the other hands, if you want do a quickly test the previous procedure can be omitted (just unistall FB 2.0.3 and install FB 2.1.1)

I mean fb structure is forward compatible (obvioulsy you cannot use new functios due to db error)
fcodebue
Junior Boarder
Junior Boarder
Posts: 32
Joined: 05.04.2008, 16:02
Contact:

Post by fcodebue »

or more simple you can do
gbak -b myolddb.fdb mybckdb.fbk
del myolddb.fdb
gbak -r mybckdb.fbk myolddb.fdb

NB fo rfdb name file use always a fullpath name
Codebue Fabio
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
Post Reply