I am getting rather frustrated with the report generator and I think I need a better approach to the problem.
I have a report based on a query and when I test the query it works but when I run the program and pass null for a parameter it always comes up with "No data to print".
I have tried passing the parameter as null in iInitReport Query, NOT passing the parameter, setting the parameter beforehand with QRY_ResByPeriod.pnCompanyID = NULL and all return the same result.
Is there some other method I should try?
Thanks,
Garry
I have a report based on a query and when I test the query it works but when I run the program and pass null for a parameter it always comes up with "No data to print".
I have tried passing the parameter as null in iInitReport Query, NOT passing the parameter, setting the parameter beforehand with QRY_ResByPeriod.pnCompanyID = NULL and all return the same result.
Is there some other method I should try?
Thanks,
Garry