I'm writing a reports generator page and I'm having troubles with dynamic columns. I have an array of column titles and names that matches a query that returns my dynamic report. I can understand wyy I can do this:
<tr>
<th>[var.cols.1.name;noerr]</th>
</tr>
|
but I can't do this:
<tr valign="top">
<td align="center">[trks.[var.cols.1.name;noerr];noerr]</td>
</tr>
|
The second snippet produces no output. If I take the noerrs out I get a bunch of errors. If I want it to work I need to write:
<tr valign="top">
<td align="center">[trks.fname;noerr]</td>
</tr>
|
but that defeats the purpose of dynamic columns.
Please, anybody knows how to do this?
Thanks in advance,
Adrian Madrid