PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Menus in page template can’t access page variables
Menus in page template can’t access page variables
Débuté par Peter, 13 juin 2020 11:48 - Aucune réponse
Membre enregistré
1 message
Posté le 13 juin 2020 - 11:48
I am trying to pass a parameter from one page to another when a menu selection is made to take the user to the new page. The menu resides within a page template so it can be used repeatedly.
The problem is the menu does not appear to have access to the variable I need it to pass. The rest of the page does have access to the variable.....so I suspect there is a page template declaration issue. The variable was received on the current page by declaring it as a global variable when it arrived on the page through a procedure declared at page level.

Do I have to declare template variables so the menu recognizes them as accessible?

Thanks