Define an attribute in BO RegularUser that will be checked for a value. Here we will call that attribute RegularUser.FlagCheck in this example.
Define a form that will be used to store the value for the FlagCheck attribute. We will call this Form1 in this example.
Define a process that will be used to show/edit Form1. We will call this Process1 in this example. Use the process syntax as follows:
FIND RegularUser WHERE RegularUser.LoginName = LoggedInRegularUser.LoginName
EDIT RegularUser USING 'Form1'
Define 2 or more queries that you would like to view in a single panel. We will call them Query1 and Query2 in this example.
Define a process that checks the flag value and then displays the appropriate query. We will call this Process2 in this example. Use the process syntax as follows:
IF EXISTS LoggedInRegularUser WHERE (LoggedInRegularUser.Focus_UseMyDemographic = 'Yes') Then
DISPLAY 'Query1'
ELSE
DISPLAY 'QUery2'
In each query, set the AutoRefresh with the process that show/edits the FlagCheck attribute (Process1) and with the BO RegularUser. Also set the 'Use Process to refresh query' with Process2 in the AutoRefresh for each query.
Create a visual Perspective panel tab with the Command to Start Process Process2. We will call this Tab1.
Now when the value is changed the appropriate query results will be waiting in Tab1.