Not quite sure if hidden is the best solution. If it's a question of having empty records, which are not even used by the report, then I would start by filtering any records out even before they get to the records. Which means filtering in NAV, not Visual Studio. But if your problem is about how you make sure that your different table boxes in the report, only contains data from that "table", then the you could use either the hidden expression in RDLC. Or, which I would do in that case, to set a filter on the tablix properties. I.e. =CStr(Fields!LineNo_SalesLine.Value) --> an example from report 206, where it is used to make sure that the invoice lines only contain the lines.
↧