In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
In ZeosLib 7.3 zero value display 00,000,000.00 in cell DbGrid
use Postgresql 10
Lazarus 2.0.6
Windows 7
use Postgresql 10
Lazarus 2.0.6
Windows 7
You do not have the required permissions to view the files attached to this post.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Hello,
I created a ticket on the bug tracker for this: https://sourceforge.net/p/zeoslib/tickets/408/
Best regards,
Jan
I created a ticket on the bug tracker for this: https://sourceforge.net/p/zeoslib/tickets/408/
Best regards,
Jan
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Hello,
Egonhugeist has added a possible fix for this. Could you please check wether the latest SVN revision still has that bug?
Best regards,
Jan
Egonhugeist has added a possible fix for this. Could you please check wether the latest SVN revision still has that bug?
Best regards,
Jan
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Thank's a lot Jan
But a few problem see pict .jpg
But a few problem see pict .jpg
You do not have the required permissions to view the files attached to this post.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Hello,
I am sorry, but I cannot get the problem. For me everything looks good?
Best regards,
Jan
I am sorry, but I cannot get the problem. For me everything looks good?
Best regards,
Jan
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Sorry for my incomplete explanation, I mean that zeos 7.3 does not display the value of 0 in the cell as the value of 0 displays in the cell when using zeos 7.2, it looks like the attached picture.
cell format, 0.00; -, 0.00; after the last semicolon containing spaces it should not display the value 0.00 in the figure shown when using zeos 7.2
sorry i use google translate
cell format, 0.00; -, 0.00; after the last semicolon containing spaces it should not display the value 0.00 in the figure shown when using zeos 7.2
sorry i use google translate
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
I added a new comment about this to the Bugtracker. Best regards, Jan
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Hello, one more questions: Which datatype do you use for your fields? Are they floats? Or are they NUMERIC(x, y)? Does the problem still exist?
Best regards, Jan
Best regards, Jan
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
I'am Sorry, for the late replay
Datatype numeric(22,4)
I will try again with the latest svn 7.3 version, as soon as possible
regards
Datatype numeric(22,4)
I will try again with the latest svn 7.3 version, as soon as possible
regards
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
After installing and running version svn 7.3-r6491, the problem still exists
regards
regards
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Hello ribut,
could you please make a small demo application, with a create-skript, some expected values etc. I'm not able to reproduce the issue on my system. I can help quickly if you can provide a template app..
could you please make a small demo application, with a create-skript, some expected values etc. I'm not able to reproduce the issue on my system. I can help quickly if you can provide a template app..
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Hello Michael,
This a small demo app with a database script psotgresql
Thanks a lot
regards
This a small demo app with a database script psotgresql
Thanks a lot
regards
You do not have the required permissions to view the files attached to this post.
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Hello ribut,
first i did not understand the proplem but testing it with delphi... your testcase works with all knonw delphi compilers we support except fpc..
There is a bug in FormatBCD() of FPC (we replaced CompareBCD(buggy), DoubleToBCD(buggy), CurrencyToBCD(slow) already )
I must admit replacing the function FormatBCD() is a huge job. It's not a Zeos a zeos issue it's a fpc bug. What do you think? What should we do?
first i did not understand the proplem but testing it with delphi... your testcase works with all knonw delphi compilers we support except fpc..
There is a bug in FormatBCD() of FPC (we replaced CompareBCD(buggy), DoubleToBCD(buggy), CurrencyToBCD(slow) already )
I must admit replacing the function FormatBCD() is a huge job. It's not a Zeos a zeos issue it's a fpc bug. What do you think? What should we do?
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
I do not understand and can not give advice on what to do, if indeed this is a bug on fpc, I should temporarily use zeos 7.2 until the bug on fpc is resolved, but I will try to continue every release of the latest zeos 7.3 svn.
Alright, thanks a lot Michael
regards
Alright, thanks a lot Michael
regards
Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
<Completely OFF>
I do ENVY those great-looking DBGrid components! I wish Embardero would invest in making their components look a little bit more... modern.
I had to write a DBGrid descendant to fix some scrolling / painting issues and it makes me so sad that a paid product is ages in front of something freely available...
</Completely OFF>
I do ENVY those great-looking DBGrid components! I wish Embardero would invest in making their components look a little bit more... modern.
I had to write a DBGrid descendant to fix some scrolling / painting issues and it makes me so sad that a paid product is ages in front of something freely available...
</Completely OFF>
Delphi 12.2, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47