Hi,
I'm trying to access the columns of a data table by name.
The official documentation says the following:
If you want to access a specific column in a datable that contains column headers, use the %ExcelData[rowNumber]['ColumnName']% notation.
This is obviously nonsense, since if we filter by column AND row, we end up with a cell, not a column.
I tried a bunch of stuff like using [:] for row numbers or even [0:{number of rows here}] but it seems as soon as you select more than one row, PAD hits you with the following error:
Variable 'DataTable[:]' doesn't have a property 'ColumnName'.
I mean I know I can build a workaround by searching for the index of the column name in DataTable.Columns and then accessing the column via that index, but this just seems unnecessarily complicated. Am I missing something?