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 :
Small and medium business | Business Central, N...
Suggested Answer

Populate a dropdown with an array in a request page of a report

(0) ShareShare
ReportReport
Posted on by 1,037

Hi All,

I want to create a dropdown that would populate the job numbers for a user who have filled their timesheet in a specified time frame .

This I want to do in a request page of a report. Any idea how this could be achieved?

pastedimage1655403693608v1.png

  • Suggested answer
    JAngle Profile Picture
    159 on at

    So once the dates are filled in you want a procedure to determine what jobs have had timesheets posted to for that user? Procedure to return a filter string? Does it make sense to have it on the request page? If they want to override maybe have that as an option instead and then let the report otherwise calculate the filter when the user doesn’t override.

  • Indira88 Profile Picture
    1,037 on at

    Hi ,

    Thank you for the reply. Actually there are many jobs in our organisation.Hence for the ease of the user if the dropdown populates only those that is relevant to him would make it easier for him to choose the job number which in turn would generate a excel template based report.

    Regards,

    Indira

  • Suggested answer
    JAngle Profile Picture
    159 on at

    Gotcha. Perhaps the report needs to be based on a temporary table of the jobs table. OnInitReport trigger you then populate the table based on looping through timesheets for a chosen period of time with job numbers. You’ll need to do a IF GET with each loop to skip repeated jobs

  • Indira88 Profile Picture
    1,037 on at

    Cud you share an example Please

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 753 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 583 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 302 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans