Skip to main content

Notifications

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 125
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
 
 
  • SÖ-17061501-0 Profile Picture
    125 on at
    Page - Filter Reset - after printing
    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
  • YUN ZHU Profile Picture
    84,562 Super User 2025 Season 1 on at
    Page - Filter Reset - after printing
    Hi, don't use Rec, try re-declaring a variable, it should solve your problem.
     
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    19,937 Most Valuable Professional on at
    Page - Filter Reset - after printing
    Hi
    I hope this can help you, Please check filtergroup function. 
    BR
    GR

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans