Search found 5 matches

by lanmi70
02.02.2021, 10:59
Forum: Lazarus / Freepascal
Topic: TZRowAccessor.GetPAnsiChar error
Replies: 15
Views: 1019

Re: TZRowAccessor.GetPAnsiChar error

My application with SQLite db and Zeos 7.2.8 running without problems 24/7, 6 days already (Insert, Update and Select queries), db is 1.6GB in size. Didn't changed original db configuration with TINYINT fields(or any other fields), only defined byte variables in application as byte5 := Byte( query.F...
by lanmi70
25.01.2021, 14:47
Forum: Lazarus / Freepascal
Topic: TZRowAccessor.GetPAnsiChar error
Replies: 15
Views: 1019

Re: TZRowAccessor.GetPAnsiChar error

Hi, Sorry for this late reply, I never received notification on this topic. Today I've updated Zeos lib over Lazarus official repo to 7.2.8 version. Now I get "range check error" for TINYINT fields with values greater than 127, since I store byte values in this field (0..255) A field defin...
by lanmi70
11.06.2020, 11:39
Forum: Lazarus / Freepascal
Topic: TZRowAccessor.GetPAnsiChar error
Replies: 15
Views: 1019

Re: TZRowAccessor.GetPAnsiChar error

I forgot to add that that function Insert_Update_Last_data has intense write - read, especially on application startup, depends on connected Arduino hardware devices and data values sent to the application.

Regards,
Milan
by lanmi70
11.06.2020, 11:16
Forum: Lazarus / Freepascal
Topic: TZRowAccessor.GetPAnsiChar error
Replies: 15
Views: 1019

Re: TZRowAccessor.GetPAnsiChar error

Hi Jan,
I wrote in topic complete code with included parameters.
The interesting thing that sometimes is triggered error for boolean and integer, but error, as described, is almost a rule.

Thanks for reply
by lanmi70
10.06.2020, 16:01
Forum: Lazarus / Freepascal
Topic: TZRowAccessor.GetPAnsiChar error
Replies: 15
Views: 1019

TZRowAccessor.GetPAnsiChar error

SQLite, Zeos 7.2.6 stable, Lazarus 2.0.8, everything installed two days ago over Lazarus Online package manager I have used this database table configuration and function with 7.1.4 version and Lazarus 1.6.4 for years, do have some freezing issues from time to time, never detected reason. With lates...