Domino Code Fragment

Code Name*
Prompt Users For A View To Select From A Navigator Hotspot
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.145.58.169
Description*
You can use this formula to prompt a user to select which view they want to see when they click on a hotspot of a navigator, (or from a button or action button).
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Replace the prompt and view names with your application's information. Optional : The last line of this formula hides any navigators associated with any of the views you open.
Files/Graphics attachments (if applicable): Code:
result := @Prompt([OKCANCELLIST]; "Reports"; "Please choose a Report to View"; "Report 1"; "Report 2" : "Report 3" : "Report 4" : "Report 5" : "Report 6" : "Report 7");

@If(result = "Report 1"; @Command([OpenView]; "Report1View"); result = "Report 2"; @Command([OpenView]; "Report2View"); result = "Report 3"; @Command([OpenView]; "Report3View"); result = "Report 4"; @Command([OpenView]; "Report4View"); result = "Report 5"; @Command([OpenView]; "Report5View"); @Command([OpenView]; "Report6View"));

@Command( [ViewNavigatorsNone] )