Pages allow the user to interact with Microsoft Dynamics 365 Business Central. Pages can be displayed on multiple display targets, like computers, tablets, and smart phones. A page can be linked to a source table or not. If they are not linked to a source table, they are either Role Center Pages or blank pages. There are several default page types in the application:
First question is why query? Lets see the advantage of queries.
1.First you can limit the amount of data you retrieve from the server by defining only the specific columns you need
2.You can join multiple tables into one query saving loop code pattern.
3.They are also light weight than Table Queries.
Below is the article which gives step wise procedure how to fetch data using a query and how to link it to a part page
Last year I blogged about how to use the Text.BetweenDelimiters() function to extract all the links from the href attributes in the source of a web page. The code was reasonably simple but there’s now an even easier way to solve the same problem using the new Html.Table() function.