2. Define a form that will be used to store the value for the FlagCheck attribute. We will call this Form1 in this example.
3. 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:
Code: Select all
FIND RegularUser WHERE RegularUser.LoginName = LoggedInRegularUser.LoginName
EDIT RegularUser USING 'Form1'
5. 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:
Code: Select all
IF EXISTS LoggedInRegularUser WHERE (LoggedInRegularUser.Focus_UseMyDemographic = 'Yes') Then
DISPLAY 'Query1'
ELSE
DISPLAY 'QUery2'
7. 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.