Hi
In a report dropdown list appears with CheckBoxes. I want to Filter only those records in Code
How to use SETRANGE for filtering only selected check box values on a request Page in a report.
Thanks
*This post is locked for comments
Hi
In a report dropdown list appears with CheckBoxes. I want to Filter only those records in Code
How to use SETRANGE for filtering only selected check box values on a request Page in a report.
Thanks
*This post is locked for comments
Are you able to select two values ? What is the dropdown is it a custom temp table or real table data. If are already selecting those values on the request page then it will filter the table, why you want to apply the filter again ?
Hi
Can u pls help me in more detail or graphically.
Thanks
Looks like your data item is Purch. Inv. Line, so why don't you show the field filter of that data item.
Hi
I have tried this but it is giving error Type Conversion is not possible because one of the operators contains an Invalid Type Option := text
"Purch. Inv. Line".SETRANGE(PCode,"Purch. Inv. Line".GETFILTER("Purch. Inv. Line".PCode)
secondly if user has not selected any option then i want to display all
Thanks
Hi
https://imgur.com/a/KcHzf . It is a Table field.
If 2 values are selected then accordingly it should SetRange.
Thanks
Hi,
Add the filter on OnPreDataItem trigger of the dataset i.e MyDataSet.SETRANGE(MyField,MyCheckBox1);
If still need more elaboration reply with the screenshot of the dataset and request page highlighting the field(s) on which you want to apply filter.
Thanks
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156