Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Dim uidb As NotesUIDatabase
Set uidb = workspace.CurrentDatabase
Call workspace.SetTargetFrame("RightPane")
Dim years(10) As String
years(0) = "2002"
years(1) = "2003"
years(2) = "2004"
years(3) = "2005"
years(4) = "2006"
years(5) = "2007"
years(6) = "2008"
years(7) = "2009"
years(8) = "2010"
years(9) = "2011"
years(10) = "2012"
Dim answer As Variant
answer = workspace.Prompt( PROMPT_OKCANCELLIST, "Service Cap", "Please select the year.", Cstr(Year(Today)) , years )
If answer Then
Dim view As String
view = "SRBSC" + answer
Call uidb.OpenView(view)
End If
End Sub