Good morning everybody,
I have started using NAV since a week, I'm stuck in a problem regarding the use of the report fields. In particular, I'm trying to modify an existing report (I have opened it and saved it with a different name and ID) adding for instance some new fields to the dataset. If I have understood well, the way to show a field in the Header section of the report is by exploiting a "hidden textbox" in which I can insert the "setData" method. Well, If I create a new textbox in the header and I modify the "Expression" giving the "=Code.GetData(x,y)" with an existing x, it works properly. But, when I try to insert a new field in the dataset and then I add it into the SetData, when I retrieve it into the textbox I cannot see it, it's not printed out. Unfortunately it's not clear this step, my questions therefore are: which is the correct method to print a general field created into the dataset into the header? What if I create a report without header/body section? Will I be able to avoid the SetData/GetData methods simply dragging and dropping the dataset filed into the report paper?
Thanks in advance and have a nice day
*This post is locked for comments
I have the same question (0)