Hi experts, based on the sales invoice header, I have created a report. I have created a variable boolean A, all the records are retrieved based on the checkbox.
In the OnAfterGetCurrRecord event, I wrote:
If A then
If ("Bill-to County" ='NY') or ("Bill-to County" ='IL') then
Currreport.SKIP ;
When I ran the report, I could still see those records with NY.
Please advise! Thank you!
*This post is locked for comments