As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
Is it possible to have variable column selection on the HTML lauch page. Example..An HTML report output has the potential to have up to 10 output fields. I was thinking of letting the user select which fields they want to view. I would think these amp variables would be basically NOPRINT or ' ' for values. Anybody have any examples handy. Thanks!This message has been edited. Last edited by: JOE,
This is how we do it. Though there may be an easier way.
HTML Used the HTML to set one long string:
1. Create a variable for each available output field choice using check boxes to populate them where the value is “1” if box is checked and “0” when the box is unchecked.
2. Concatenate the variables together with a “-“ in between each variable:
The user that required the data from our fex wanted nothing but data with a header row on his EXCEL spreadsheet so commenting out opposed to "noprint" didn't matter. However if you are using stylesheet options, you will need to use noprint if your stylesheet options are based on column numbers as opposed to column names.
If your stylesheet options use column names then either way will work.