MauditOstie
Member
Hi everyone,
I have wandering, once you do the whole code for a dynamic browser, can the static query that was previously assigned to the browser be used?
I have a lookup screen. Upon loading the screen, it displays all the employee using the standard AppBuilder Browser Query Builder. Once they hit a button, i get a refine search screen that add some clauses to the where (at that time, the query becomes dynamic and the browser as well). BUT, there is a "refresh button" that is used to clear all the different refine inputs. This calls a procedure that blanks &SEARCH-KEY and then re-open the query with the following:
Unfortunatly, it doesn't work anymore! It does clear everything nor does it re-open's the query!
Whey i MESSAGE the {&OPEN-QUERY-{&BROWSE-NAME}} it shows me the proper OPEN QUERY string.
Any reason why? Is it linked to the fact that the browser and or Query are now dynamic?
I have wandering, once you do the whole code for a dynamic browser, can the static query that was previously assigned to the browser be used?
I have a lookup screen. Upon loading the screen, it displays all the employee using the standard AppBuilder Browser Query Builder. Once they hit a button, i get a refine search screen that add some clauses to the where (at that time, the query becomes dynamic and the browser as well). BUT, there is a "refresh button" that is used to clear all the different refine inputs. This calls a procedure that blanks &SEARCH-KEY and then re-open the query with the following:
Code:
&SCOPED-DEFINE SORTBY-PHRASE {&BY1}
{&OPEN-QUERY-{&BROWSE-NAME}}
Unfortunatly, it doesn't work anymore! It does clear everything nor does it re-open's the query!
Whey i MESSAGE the {&OPEN-QUERY-{&BROWSE-NAME}} it shows me the proper OPEN QUERY string.
Any reason why? Is it linked to the fact that the browser and or Query are now dynamic?