Could you give us a way to open a query to the user from the code.

Something like the methods we have on Page variables and the static Page object.

  • Query.Run(Query::"My Query");
  • Query.RunModal(Query::"My Query");
  • MyQuery.Run()
  • MyQuery.RunModal()

I see two reasons for this:

  • We could use QueryCategory to make a query available from a page but you can only set one QueryCategory per page and this property cannot be set by pageextension objects.
  • BC23 offers the ability to Analyze queries.... but if we cannot run them this feature is a bit limited.
Category: Development
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team