I have a form that is used to create Newsletters, so there is an field (radio) with a value of Active and Archive. I then use this value, to pull in the active newsletter which loads nicely into a frame. This code is stored in a link in the main menu and is shown below:
Based on a new requirement, I now have to change the newsletter to be set as the home page (this is a Notes client application). So, I want the form, to load into a frame, which is the launch frame of the database. I tried using the following LS code in the database script -- both on postopen and initialize, and it is not working either:
Dim ws As New NotesUIWorkspace
Dim s As New NotesSession
Dim db As NotesDatabase
Dim uidoc As NotesuiDocument
Dim view As NotesView
Dim doc As NotesDocument
Set db = s.CurrentDatabase
Set view = db.GetView("vActivePages")
Set doc = view.GetFirstDocument
Call ws.SetTargetFrame( "NotesView" )
Set uidoc = ws.EditDocument( False, doc)
Is there a way to do what I need, without totally changing the structure of the database?
Need before the end of day if possible ....Thanks!!!