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.
Error reading array field in Interbase table
-
- Posts: 10
- Joined: Fri 13 Jul 2018 18:36
Re: Error reading array field in Interbase table
You can get access to the array element value using the specified code. Only, please make sure that the TIBCTable.Active property is set to True.
If this does not help in resolving the problem, please compose a small sample demonstrating the issue including the script for creating and filling in the database objects and send it to us via the e-support form: https://devart.com/company/contactform.html
If this does not help in resolving the problem, please compose a small sample demonstrating the issue including the script for creating and filling in the database objects and send it to us via the e-support form: https://devart.com/company/contactform.html