Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Range

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  I have Below DataItem Structure in report . I want every G/L Account information should print on New Page including Header.

              G/L Entry

                  Integer

Thanks

*This post is locked for comments

  • Verified answer
    keoma Profile Picture
    32,727 on at
    RE: Range

    you could use following structure in the report:

    7180.pic2.JPG

    DataItemLink at dataitem "g/l entry": G/L Account No.=FIELD(No.)

    trigger code:

    G/L Account - OnAfterGetRecord()

    // local var.: glEntry / record / "g/l entry"

    glEntry.SETRANGE("G/L Account No.","G/L Account"."No.");

    IF glEntry.COUNT = 0 THEN

     CurrReport.SKIP;

    report layout:

    7180.pic2.JPG

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans