Error reading array field in Interbase table
Posted: Thu 06 Sep 2018 17:01
Hi, I'm testing tables with Array fields.
The components that I am using are TIBCTable and are related to Interbase tables. In one of those tables I defined an Integer Array [1: 3] field (Ex: Test). In the validation code when trying to get the value of the field I use the following code:
TableName.FieldByName ('Test [1]'). AsInteger
In this link ...
viewtopic.php?t=30195
... verify that it was defined in this way.
And it gives me the message that the field does not find (I did the same test with Test [0] and it gave me the same error). Can I get the value of each element of the array field ?.
I am using Delphi Tokyo 10.2
The version of Devart is 6.2.8
Thank you in advance.
The components that I am using are TIBCTable and are related to Interbase tables. In one of those tables I defined an Integer Array [1: 3] field (Ex: Test). In the validation code when trying to get the value of the field I use the following code:
TableName.FieldByName ('Test [1]'). AsInteger
In this link ...
viewtopic.php?t=30195
... verify that it was defined in this way.
And it gives me the message that the field does not find (I did the same test with Test [0] and it gave me the same error). Can I get the value of each element of the array field ?.
I am using Delphi Tokyo 10.2
The version of Devart is 6.2.8
Thank you in advance.