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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Query in Report in AL

(0) ShareShare
ReportReport
Posted on by 911

How can I assign a query object in the dataset / dataitem section of a report object in AL?

  • Suggested answer
    Krzysztof Bialowas Profile Picture
    500 on at

    As far as I know you cannot do it directly. But if you need you can use Integer table and then assign values to the variables or you can put values to temporary table and show it.

  • Nick Webb Profile Picture
    911 on at

    So what is the point of a Query object if you can't assign it to a Report object?

  • Krzysztof Bialowas Profile Picture
    500 on at

    It is used for calculation and for combining data if needed. But not for the presentation of the data. For that you need to do some "workarounds". We use a lot of queries but there where we need to have some dataset which are later used in code.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans