Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Acess Datasets programatly
smgomes
It's possible know wich fields are being used by report throught rptdesign?
Example:
In my Dataset i have 30 fields, but i only drag 3 fields to report to iterate in Table Component.
I'am using DataNucleus, and i need to know wich fields the report really uses to obtain better performance in DataNucleus query.
My idea is:
Ask to rptdesign programatly wich fields are in body of report.
It's possible?
Thanks.
Find more posts tagged with
Comments
mwilliams
Hi smgomes,
You can figure out the fields that are in a table by checking how many columns there are:
this.getRowData().getColumnCount();
and then loop through the different columns with a while statement grabbing the column names with:
this.getRowData().getColumnName(int column);
Not sure if this will work for you application, but it's a way to know which fields are used in a table.