FilterGroup

Hi everyone,

Any idea how does FilterGroup Works? (Eg: Scenario, Syntax)

JDI

Pressing F1 in navision is faster than posting here.

hi mohana,

I agreed…

"Use this function to change the filter group that is being applied to the table. You can also use this function to return the number of the current filtergroup. You cannot return the number … etc etc "

Dont really understand what it explaining, so probably someone can explain in simpler terms.

JDI

Your Senior developer can explain more with an example.contact him.

Hi mohana,

I understand, but there is a better simpler where I can understand in more simpler terms.

Filtergroups represent the different levels of filtering in NAV.

The user is working in Filtergroup 0 (Zero) and all filters on this group can be set and removed by the user.

Filtergroup 2 as an example represents the functionality of SETTABLEVIEW function for reports, etc.
Additionally the SourceTableView Property of a form will be applied in this group.
The user cannot change or remove this filter.

All filters of all groups are additional - meaning that the resulting view of records is the result of all filters in all groups.

You usually utilize the filtergroups (mostly 2) when you do want to apply a filter in a form where the user should not get the chance to remove this filter.