Working on AX 2009. I need to print a cover sheet a list of all the parameters that people request. Printing all the fields in a dialog and fields I have preset as a range is no problem. The problem is people will add field to select on. I need all the parameters that have been selected. Does anyone know how to print new added range values? Also is there an easier way to print the range values other then the following code?
QueryBuildDataSource datasource = element.query().dataSourceTable(tableNum(CommissionTrans));
QueryBuildRange range = datasource.findRange(fieldNum(CommissionTrans,EmplId));
str rangeValue = range.value();
;
return rangeValue ? rangeValue : '[All Employees]';
Like a while loop??
Thanks for your help
Abraham Z.