I have a huge table with at least 200 columns for a questionnaire. Some of these columns are placeholders for Show → Page_Header columns. As the names of these Page_Headers might change (and not only these), I would like to avoid doing monkey tasks and going into each of these columns and change its “Content” line. Therefore, I am looking for an expression, which I can just put into the “Content” section and it will autmatically update the name. And here I need some help.
The idea was to create a new table (Inspection_Question) where I maintain the names for the Page_Headers. The column “Designation Type” holds the table name of the questionnaire (as I will have several questionnaires), “Question” holds the name of the Page_Header and “Tab” holds the desired name/ content.
Happy this works, though, it doesn’t solve much of my issue with going through each column and changing the column name there. There is no way to retrieve the column name without hard coding it? And it is not possible to check for the correct table name as well?
So, for the record, there is no way to retrieve the column name automatically/ without having to hard-code it, (yet). But AppSheet support informed me that a feature request has been submitted.
As for the formula, a little workaround was needed to check for the correct table. Creating a virtual column, which bears the CONTEXT(“Table”).