Search found 35 matches

by tkszeos
31.01.2019, 16:24
Forum: ZeosLib 7.2 Forum
Topic: Problems with field name that contain accented characters
Replies: 0
Views: 1054

Problems with field name that contain accented characters

Hello, I have a problem and I hope I can explain myself. In an old Firebird 1.5 database I have a field whose name is "Città". By connecting TZQuery via a TDataSource to a DBGrid I see the field value correctly. The field name is seen as "Citt" I create a TZQuery.BeforePost event...
by tkszeos
10.02.2018, 00:58
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

Yes yes yes!!!
I updated to zeoslib-code-0-4171-branches-testing-7.2 and confirm that the issue has been solved!
All cases in which the problem was present now behave correctly.

:thanks: you very much
by tkszeos
05.02.2018, 15:04
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

I have done some test: In the PREVHDR table, the "Arrivo" field is defined as DATE. In the LINGUE_PC table, the "Arrivo" field is defined as VARCHAR(20). This select: SELECT PREVHDR."Arrivo", LINGUE_PC."Arrivo" AS "Arrivo_1" FROM PREVHDR INNER JOIN L...
by tkszeos
03.02.2018, 18:43
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

Hi HegonHugeist, after doing some tests unfortunately your changes did not solve the problem. The strange thing is that if you invert the position of the fields in the SELECT the field type is correctly assigned (review my first post). The problem occurs both in Delphi 7 and in CodeTyphon with all v...
by tkszeos
13.01.2018, 12:40
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

I think that the ability to correctly manage quoted field names is an important feature to be implemented in ZeosLib, also because other components do it without problems. I can agree with Fr0sT that it is not advisable to use them but it is also true that it is not prohibited. In fact, Firebird all...
by tkszeos
09.01.2018, 23:51
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

Hi FrOsT, I created a simple TESTDB.FDB database that demonstrates the error. Tables T1 and T2 have a field with the same name. In T1 "Same_Name_Field" is DATE type, in T2 "Same_Name_Field" is VARCHAR (20) type. /* SQL Manager Lite for InterBase and Firebird 5.5.1.50223 */ /* ---...
by tkszeos
09.01.2018, 14:32
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

Hi, I have tested your query but, unfortunately, does not solve the problem. I believe the error is related to Zeoslib. In fact, using other components such as IBX, UIB or SQLQuery in Code Typhon, the problem does not occur. Among other things, I have always used the names of the listed fields witho...
by tkszeos
08.01.2018, 13:11
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

I'm sorry.
I use Firebird. The problem occurred with Firebird 2.5 but I have reason to believe that it occurs with all versions of Firebird.

Thanks
by tkszeos
07.01.2018, 18:20
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Re: Problems in the field editor with fields of the same name in two different tables

I noticed that the problem occurs only if the field names, in the tables, are in lower case
by tkszeos
07.01.2018, 17:31
Forum: ZeosLib 7.2 Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 40
Views: 4988

Problems in the field editor with fields of the same name in two different tables

Hi, I have the following problem in both Code Typhon and Delphi: I have two tables, PREVHDR and LINGUE_PC, with many fields including two of these having the same name: "Arrivo". PREVHDR."Arrivo" is DATE type, LINGUE_PC."Arrivo" is VARCHAR(20) type. If I execute the fol...
by tkszeos
28.11.2017, 10:32
Forum: ZeosLib 7.2 Forum
Topic: Firebird 3.0 and Code Typhon: Boolean field error in Field Editor
Replies: 4
Views: 714

Re: Firebird 3.0 and Code Typhon: Boolean field error in Field Editor

I noticed that if the SQL is

Code: Select all

SELECT OTHER_FIELD, BOOLEAN_FIELD FROM TEST_TABLE
the field types, in the field editor, are correct
by tkszeos
27.11.2017, 18:11
Forum: ZeosLib 7.2 Forum
Topic: Firebird 3.0 and Code Typhon: Boolean field error in Field Editor
Replies: 4
Views: 714

Firebird 3.0 and Code Typhon: Boolean field error in Field Editor

Hi, I have a problem with the Boolean fields of Firebird 3.0. I use Code Typhon Ver. 6.30 on Windows 10 64. I have created a database with the following table: CREATE TABLE TEST_TABLE ( BOOLEAN_FIELD BOOLEAN NOT NULL, OTHER_FIELD SMALLINT NOT NULL); In CT I create a Form on which I add ZConnection a...