Search found 27 matches

by nlanger
28.07.2022, 15:51
Forum: ZeosLib 7.3/8.0 Forum
Topic: DisplayFormat and DBgrid
Replies: 6
Views: 324

Re: DisplayFormat and DBgrid

I'm running Delphi 10.4 and this only happens with ZQuery. This does not happen with the FireDAC query or any other query. I also often use the RxMemoryTable, and this effect does not occur there either. Something is misaligned when setting "DisplayFormat". Does the ZQuery look for the fir...
by nlanger
27.07.2022, 12:44
Forum: ZeosLib 7.3/8.0 Forum
Topic: DisplayFormat and DBgrid
Replies: 6
Views: 324

DisplayFormat and DBgrid

I have a strange effect. If the ZQuery is opened and the display format is set for a DateTime field and the DateTime field is empty in the first record, the focus in the DBgrid is drawn incorrectly. The internal data record pointer was probably changed by "DisplayFormat" ? See attachement ...
by nlanger
15.07.2022, 11:39
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

Hello Jan

Yes, now there are no more access violations when changing the WLAN. Everything perfect.

Thanks
Norbert
by nlanger
15.07.2022, 10:31
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZQuery.Post without field xyz
Replies: 4
Views: 196

Re: ZQuery.Post without field xyz

Hello jan

Yes, that fits, if I deleted "pfInUpdate" from the ProviderFlags, the field is not taken into account in the update. :D

Thanks
Norbert
by nlanger
12.07.2022, 18:49
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

First => ZQuery.GetFieldNames()

No, that's the same error, I wrote the process upside down.
I'll try the new version later.

Norbert
by nlanger
09.07.2022, 13:05
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

Hello Jan that only partially helps. "Zquery.Open" now comes with ZConn.OnLost :D The first error (Error1.jpg) still occurs at exactly this point (See attachement) ... ZDbcOleDBStatement.pas procedure TZAbstractOleDBStatement.ClearCallResultCache; Line 547: for I := 0 to FCallResultCache.C...
by nlanger
08.07.2022, 13:46
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZQuery.Post without field xyz
Replies: 4
Views: 196

ZQuery.Post without field xyz

If I fetch an SQL command from a view and it contains a field that cannot be changed (from another table), it works fine for ZQuery.Edit and ZQuery.Post. An error occurs (from MS-SQLserver) with ZQuery.Insert and ZQuery.Post because the field must not be modified with. Can I remove the field from th...
by nlanger
08.07.2022, 13:34
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

I get the Error1, in the error handling, when ZQuery.Open. Error2 also appears later. cause in the source text ... ZAbstractRODataset.pas function TZAbstractRODataset.CreateResultSet(const SQL: string; MaxRows: Integer): IZResultSet; Line 3516 else Result := Statement.ExecuteQueryPrepared; ZAbstract...
by nlanger
07.07.2022, 13:43
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

I tried to see what you do but this file seems to not be based on a recent version of Zeos 8? In Zeos 8 Egonhugeist introduced the OnLost event on the TZConnection. This allows Zeos to handle everything necessary (close datasets, free ressources where necessary) and then gives you the chance to rec...
by nlanger
06.07.2022, 14:32
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

There is a small error in the current sources.
When compiling without ZParam ...

raise EZSQLException.Create(SInvalidVarByteArray);

must not be used in the Line 1917 from ZDatasetUtils.pas ;-)

use => EZDatabaseError.Create()

Norbert
by nlanger
06.07.2022, 13:44
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

Hello Jan While you're at it, I have one more bug that I've tried to build myself - but I'm not sure if it's 100% accurate. If the program runs on a laptop with WLAN and the ZConnection is always open (which makes sense) and you carry the laptop around the company and change the WLAN or you plug in/...
by nlanger
06.07.2022, 13:34
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

Re: SQL-Server2019 Win10 21H2

Hello Jan

Yes, that solves the problem.
I installed [r7829] and the error no longer occurs in the test program and in the correct large program.

great!!!

Norbert
by nlanger
03.07.2022, 16:42
Forum: ZeosLib 7.3/8.0 Forum
Topic: SQL-Server2019 Win10 21H2
Replies: 24
Views: 529

SQL-Server2019 Win10 21H2

I work with Delphi 10.4 and Zeos 8.0 beta (without ZParam) on Windows 10. Up to version 1903 everything works fine. Now the clients have Win10 version 21H2 on it. In the case of SQL select with larger amounts of data, an access violation (stack overflow) occurs with ZQuery.Close, ZQuery.Free or ZQue...
by nlanger
17.03.2021, 14:02
Forum: ZeosLib 7.3/8.0 Forum
Topic: Protocol Ado = program crash
Replies: 13
Views: 510

Re: Protocol Ado = program crash

Hi Michael

When I set the date format to DD.MM.YYYY, the QuickReport-Designer also works with the current Zeos8 version (with DISABLE_ZPARAM), because internally the date is passed to the parameters as text.

so everything ok :D
Norbert
by nlanger
13.03.2021, 16:31
Forum: ZeosLib 7.3/8.0 Forum
Topic: Dateformat for ZQuery.Params
Replies: 2
Views: 207

Re: Dateformat for ZQuery.Params

oh yes the properties on the Zconn :v:
sometimes you need food for thought :D

OK, thanks

Norbert