Search found 6 matches

by omurolmez
01.03.2024, 19:16
Forum: ZeosLib 7.3/8.0 Forum
Topic: [SOLVED] Access To List of available codepages.
Replies: 0
Views: 432

[SOLVED] Access To List of available codepages.

Hello there, I am sorry if this is answered in forum before. I could not find. I want to list usable/available codepage values in a combo box, before or after connected to db. I want to fill a combobox, after user selects a protocol and connects to that db. As I guess, both ZConnection1.ClientCodePa...
by omurolmez
03.08.2022, 19:23
Forum: ZeosLib 7.3/8.0 Forum
Topic: "Datasource makes a circular link" exception when assign datasource to nil
Replies: 5
Views: 476

Re: "Datasource makes a circular link" exception when assign datasource to nil

Hello, First of all, thank you for your help and very quick action. I applied the patched version. I have two issues: 1. First issue Should we apply same patch to ifNdef(FPC) path or not ? I mean. Isn't it should be {$IFNDEF FPC} if Assigned(Value) and IsLinkedTo(Value) then {$ELSE} if Assigned(Valu...
by omurolmez
01.08.2022, 09:04
Forum: ZeosLib 7.2 Forum
Topic: "Datasource makes a circular link" exception when assign datasource to nil
Replies: 1
Views: 295

"Datasource makes a circular link" exception when assign datasource to nil

Hello, (this is my second post with same subject and topic. First one is not accepted I guess) When assign {TZQuery}ZQuery2.DataSource :=nil or pick (none) from IDE, I get "Datasource makes a circular link" exception. On a datamodule : Put two TZQuery as ZQuery1 and ZQuery2 Put two TDataSo...
by omurolmez
31.07.2022, 11:27
Forum: ZeosLib 7.3/8.0 Forum
Topic: "Datasource makes a circular link" exception when assign datasource to nil
Replies: 5
Views: 476

"Datasource makes a circular link" exception when assign datasource to nil

Hello everyone. I have a strange problem with Zeos. In both way : * Select "(none)" for DataSource in IDE * ZQuery3.DataSource := nil; in code and run I get "Datasource makes a circular link" exception in here. {ZAbstractRODataSet.pas}procedure TZAbstractRODataset.SetDataSource(V...
by omurolmez
18.07.2022, 10:01
Forum: ZeosLib 7.2 Forum
Topic: Multithreaded application best practices
Replies: 14
Views: 2621

Re: Multithreaded application best practices

Thank you @aehimself

It works like a charm.
by omurolmez
14.07.2022, 15:24
Forum: ZeosLib 7.2 Forum
Topic: Multithreaded application best practices
Replies: 14
Views: 2621

Re: Multithreaded application best practices

What if I want to use a splash screen when waiting for establishing connection ? * A splash screen should be shown first. * Connection should be started establishing. * Meanwhile splash screen should be able to respond user messages. In this situation, a secondary thread should establish connection ...