R
robert.feutl
Hi,
I have a xtab query with field names in it that change depending on
criteria.
For instance, currently one field is "Field1". The field name is
printed on the report as a header.
As the field names change constantly in the query, I can not put fixed
name fields on the report. I would like to use the label caption to
retrieve the contents of the query field into a text field on the
report.
I tried using in the data source of the text field:
="[" & label.caption & "]"
but it did not work.
Any ideas to call the label caption in a text box to get the contents
of that field from the query?
I have a xtab query with field names in it that change depending on
criteria.
For instance, currently one field is "Field1". The field name is
printed on the report as a header.
As the field names change constantly in the query, I can not put fixed
name fields on the report. I would like to use the label caption to
retrieve the contents of the query field into a text field on the
report.
I tried using in the data source of the text field:
="[" & label.caption & "]"
but it did not work.
Any ideas to call the label caption in a text box to get the contents
of that field from the query?