ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Page functions
  • Displaying an Active WEBDEV Page while passing parameters
PageParameter (Example)
Displaying an Active WEBDEV Page while passing parameters
WEBDEV - Server code The following code is used to display an Active WEBDEV Page while passing as parameter the characteristics of the record to display in the page (PageDisplay). The parameters are retrieved by PageParameter by using the names automatically assigned by WEBDEV (P1, P2, ...).
// -- Code used to display an AWP page
// -- while passing parameters to it
// In the "PAGE_MyPage.AWP" page, displays the 350th element
// of "Instruments" category
PageDisplay(PAGE_MyPage, "Instruments", 350)
 
-----------------------------------------------------
// Retrieve the parameters
SoughtCategory is string = PageParameter("P1")
SoughtID is int = PageParameter("P2")
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help