web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Page - Filter Reset - after printing

(1) ShareShare
ReportReport
Posted on by 230
Dear Community,
 
i have got a problem with page filters.
 
Ich have got a page. In this page i added a action which prints a report. 
For this have set certain filters.
Following:
 
Workflow:
When i enter the page for the first time i can see all entries.
 
Then i go the action to print the entries:
As soon as i click one of these, and go back to the list page i get only one entry.
then i get: 
the same goes for several entries:
 
Then i can only see the entries which i have choosen previously:
 
 
So, i want to see all entries again.
I guess i i have to reset the filters.
However i have already tries to reset the filter on trigger on open page.
It does not work.
Dear community do you have a solution for this problem?
 
Thanks in advace
 
 
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,371 Most Valuable Professional on at
    Hi
    I hope this can help you, Please check filtergroup function. 
    BR
    GR
  • YUN ZHU Profile Picture
    95,746 Super User 2025 Season 2 on at
    Hi, don't use Rec, try re-declaring a variable, it should solve your problem.
     
    Thanks.
    ZHU
  • SÖ-17061501-0 Profile Picture
    230 on at
    Dear community;
     
    Thank you for your proposal. 
     
    @YUN ZHU
    Thank, you for your proposal. It immediately worked. 
    You are the best. 
     
    Solution Code:
                        AssemblyHeader := Rec;
                        CurrPage.SetSelectionFilter(AssemblyHeader);

    I also thought maybe this would be a problem. 
    Maybe for other people having this problem. 
     
    Thanks, dear community

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans