Subject | RE: [IBO] TIB_Edit ans Array fields |
---|---|
Author | IBO Support List |
Post date | 2013-02-15T23:00:55Z |
IBO has good support for array columns; however, it isn't to the extent that
you can work with individual array elements like you would an ordinary
column containing a single value. The entire array value is stored as a
single block of data so it is pretty awkward to have a single TIB_Edit
control work with just one element of the array.
But, without too terribly much work you should be able to tap into the
various data change/update notification events of TIB_DataSource and broker
the values of your TEdit controls to their respective array elements you can
access simply by way of a variant array that IBO will provide you with.
There is a sample app that shows you how to work with array data in IBO via
the variant array you get from the Value property of the TIB_ColumnArray
field object.
Please let me know if you get hung up in trying to work through this.
Jason
www.ibobjects.com
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of fields24@...
Sent: Friday, February 15, 2013 3:31 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] TIB_Edit ans Array fields
Is there any way to ever work with TIB_Edit fields
and array fields in Firebird/Interbase?
I have to maintain a program that requires over 500
fields on screen and over twice that in the data table.
I would like to convert over to arrays in the table
to make it easier to automate calculations. It is sort
of like a spreadsheet.
Thanks
------------------------------------
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
you can work with individual array elements like you would an ordinary
column containing a single value. The entire array value is stored as a
single block of data so it is pretty awkward to have a single TIB_Edit
control work with just one element of the array.
But, without too terribly much work you should be able to tap into the
various data change/update notification events of TIB_DataSource and broker
the values of your TEdit controls to their respective array elements you can
access simply by way of a variant array that IBO will provide you with.
There is a sample app that shows you how to work with array data in IBO via
the variant array you get from the Value property of the TIB_ColumnArray
field object.
Please let me know if you get hung up in trying to work through this.
Jason
www.ibobjects.com
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of fields24@...
Sent: Friday, February 15, 2013 3:31 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] TIB_Edit ans Array fields
Is there any way to ever work with TIB_Edit fields
and array fields in Firebird/Interbase?
I have to maintain a program that requires over 500
fields on screen and over twice that in the data table.
I would like to convert over to arrays in the table
to make it easier to automate calculations. It is sort
of like a spreadsheet.
Thanks
------------------------------------
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links