PrintTable and variable tables

I have a dataset to retrieve class grades and assignments. It will contain a different # of fields and headers depending on what subject the teacher has chosen. I'm using frPrintTable to print the data. The problem is that if I display a subject that has 10 fields, then display a subject with 3, then display one with 5, only the 3 fields will show. The report always shows the least # of fields displayed unless I close the form and reopen it. How do I force frPrintTable to always show what is there?

I've tried
frtbl.buildreport;
frtbl.report.preparereport;
frtbl.showreport;

This doesn't work.

Thanks.

Comments

  • edited 6:31AM
    Never mind. I figured it out. Amazing what a night's sleep will do.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.