I am trying to fill a computed field from a global two dimensional array - gridarray[a,b]
The array is supposed to correspond directly to the dimensions of the datawindow. So if the array has 20 columns and 40 rows it would be gridarray[20,40]
In the datawindow grid, I have a bunch of computed fields. Each computed field SHOULD have an expression as follows:
The 'getrow( )' part of this is easy.
Unfortunately, there is no built-in expression function like 'getcolumn( )'
Can anyone offer a suggestion as to the simplest way to know what the column number or name is?
I have a computed column with the name of C1. In the computed field expression, I typed in 'C1.Name'.
I did not get an error, but it just does not work. If it did work, I could write a function to pass the name to a funtion and then return only the column number.
I have tried so many ways to get this information and spent sooooo many hours goooogling the issue, that I can't believe that I have not figured it out yet.
Thank you in advance for any help!!!