{"title":"Report.RunModal(Integer [, Boolean] [, Boolean] [, var Record]) Method","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/report/report-runmodal-integer-boolean-boolean-table-method/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/report/report-runmodal-integer-boolean-boolean-table-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/report/report-runmodal-integer-boolean-boolean-table-method","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Loads and executes the report that you specify.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"Report.RunModal(Integer [, Boolean] [, Boolean] [, var Record]) Method","slug":"reportrunmodalinteger-boolean-boolean-var-record-method","at":0,"chars":1085},{"level":2,"title":"Syntax","slug":"syntax","at":181,"chars":131},{"level":2,"title":"Parameters","slug":"parameters","at":312,"chars":646},{"level":2,"title":"See Also","slug":"see-also","at":958,"chars":127}],"text":"# Report.RunModal(Integer [, Boolean] [, Boolean] [, var Record]) Method\n> Version: _Available or changed with runtime version 1.0._\nLoads and executes the report that you specify.\n## Syntax\n```al\n Report.RunModal(Number: Integer [, RequestWindow: Boolean] [, SystemPrinter: Boolean] [, var Record: Record])\n```\n## Parameters\nNumber\nType: ../integer/integer-data-type\nThe ID of the report that you want to run.\n*[Optional] RequestWindow*\nType: ../boolean/boolean-data-type\nSpecifies whether the request window for the report will be displayed. The request window is part of the report object.\n*[Optional] SystemPrinter*\nType: ../boolean/boolean-data-type\nSpecifies whether to use the default Windows printer or use table 78, Printer Selection, to find the correct printer for this report.\n*[Optional] Record*\nType: ../record/record-data-type\nSpecifies which record to use in the report. Any filters that are attached to the record that you specify are used.\n## See Also\nreport-data-type\nGetting started with AL<../../devenv-get-started>\nDeveloping extensions<../../devenv-dev-overview>"}