Can please help me ? I am getting an Error in Navision while i try to print …which triggers an Error that says the report doesn’t have DataItem that uses table…specified in the function SetTableView. Do you have any suggestion or how to fix the problem. And Where can I find the SetTableView FUNCTION.
This error occurs when you’re trying to call a report with a wrong table in the filter.
When you are make a call to a report, in example from a form/page, then you are able to use SETTABLEVIEW to filter the report with the value from the record. For example you can filter on the item you’re currently on using the SETTABLEVIEW. But if the report you’re calling doesn’t have Item as a DataItem, then you will get the above error.
So in order to find the error here, then you need to check very the report is called from and the code used to call it.