In my opinion this question involves very basic C/AL programming knowledge: did you at least read the introduction to C/AL development available on MSDN before posting?
In the PreDataItem Trigger of the Report, Write Something Like that :
SalespersonPurchaser.SETFILTER("Commission %",'>0'); // Filter Depending on your Requirement
IF SalespersonPurchaser.FINDFIRST THEN
// do something
ELSE
ERROR('No records exists'); // Which you want to Specify
Comments
SalespersonPurchaser.SETFILTER("Commission %",'>0'); // Filter Depending on your Requirement
IF SalespersonPurchaser.FINDFIRST THEN
// do something
ELSE
ERROR('No records exists'); // Which you want to Specify
Thanks
Vivek
IF ISEMPTY THEN
ERROR('No records exist');
...this way it will use the filters that the report is using.