Hello!I can’t programmatically generate dialog “choose View” for user…
Example, this dialog generate on client in menu “View” → “Go to”
Help me, please.
Best regards.
Hello!I can’t programmatically generate dialog “choose View” for user…
Example, this dialog generate on client in menu “View” → “Go to”
Help me, please.
Best regards.
Subject: “View” → “Go to” - programmatically
Hi Evgeniy,
Use this Command in the formula language:
@Command([SwitchView])
Regards,
Omkar Naik
Subject: “View” → “Go to” - programmatically
Try this…
Dim s As New NotesSession
Set db = s.CurrentDatabase
Dim viewArray() As String
Redim viewArray(Ubound(db.Views))
y = 0
Forall v In db.Views
viewArray(y) = v.Name
y = y + 1
End Forall
response = ws.Prompt (PROMPT_OKCANCELLIST, "Select a View", "Select a view to build from.", viewArray(0), viewArray)
If Isempty (response) Then
Messagebox "User canceled", , "View not selected."
Exit Sub
Else
Set view = db.GetView(response)
End If
Subject: “View” → “Go to” - programmatically
Omkar and Timothy, it is nice solution!Thank You for you help=)