Search found 22 matches

by ribut
23.12.2022, 08:25
Forum: ZeosLib 7.3/8.0 Forum
Topic: Wrong Value Zeos 8 (PostgreSQL 14)
Replies: 1
Views: 264

Wrong Value Zeos 8 (PostgreSQL 14)

Use Zeos 8.x, Get wrong Values margin_1 or margin_2 zeos_8_test-0.jpg Use Zeos 7.2, Get Values margin_1 or margin_2 zeos_7.2_test-0.jpg when use zeos 8 value column margin_1 ----------- 25 50 25 0 when use zeos 7.2.14 value column margin_1 ----------- 250,000 500,000 250,000 what's wrong zeos 8 ? :D
by ribut
22.08.2022, 14:41
Forum: ZeosLib 7.2 Forum
Topic: PostgreSQL: select now()::date error
Replies: 2
Views: 467

Re: PostgreSQL: select now()::date error

with qrySQL do begin
ParamChar:='#'; //--> Ok
Close;
SQL.Clear;
SQL.Add('select now()::date');
Open;
end;

Ok Jan Thanks
Now error syntax no show
by ribut
21.08.2022, 06:27
Forum: ZeosLib 7.2 Forum
Topic: PostgreSQL: select now()::date error
Replies: 2
Views: 467

PostgreSQL: select now()::date error

Use Zeos 7.2

select now()::date -->syntax error

but

select now()::::date -->Run
by ribut
10.05.2020, 18:48
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

Re: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;

After I try again with numeric data type (19,4). DBGrid has produced what it wants.

Maybe this is my carelessness using numeric data types (22,4)

My conclusion, use numeric types only until (19, xx)

Thank you for your attention, Michael

Regards
by ribut
06.05.2020, 18:23
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

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
by ribut
05.05.2020, 05:40
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

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
by ribut
03.05.2020, 18:45
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

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
by ribut
03.05.2020, 18:29
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

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
by ribut
26.02.2020, 14:18
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

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...
by ribut
26.02.2020, 10:58
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

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
by ribut
26.01.2020, 09:22
Forum: ZeosLib 7.3/8.0 Forum
Topic: In Lazarus 2.0.6 DBGrid display format ,0.00;-,0.00;
Replies: 17
Views: 1150

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
by ribut
18.04.2017, 20:22
Forum: PostgreSQL
Topic: commands ignored until end of transaction block
Replies: 12
Views: 3519

Re: commands ignored until end of transaction block

Furthermore, whether if there are two concurrent processes startransactions, when one commit command executed if both of the startransactions same time will affect the commit command of one of the execution of TZQuery or TZReadonlyQuery it I will try your suggestion, and it looks better if you use y...
by ribut
10.04.2017, 08:48
Forum: PostgreSQL
Topic: commands ignored until end of transaction block
Replies: 12
Views: 3519

Re: commands ignored until end of transaction block

Hello ribut, Please don't do that: with qryIUD do begin Close; SQL.Clear; SQL.Add('BEGIN;'); ExecSQL; end; The ZConnection Object has the methods StartTransaction, Commit and Rollback. Please use them because Zeos handles some things internally through them. With best regards, Jan why i don't do th...
by ribut
06.04.2017, 17:27
Forum: PostgreSQL
Topic: commands ignored until end of transaction block
Replies: 12
Views: 3519

Re: commands ignored until end of transaction block

miab3 wrote:@ribut

Could you try with autocommit disabled:

ZConnection1.AutoCommit:=False;

Michal
ok, problem solved

many thank's Michal