Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Open specific form in a Frameset

Avatar of AliciaVee
AliciaVee asked on
Web Languages and StandardsLotus IBM
12 Comments1 Solution465 ViewsLast Modified:
Experts,

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:

@SetTargetFrame("Content");
@Command([OpenFrameset]; "NewsViewsFrame");
@SetTargetFrame("NotesView");
@Command([OpenView];"vActivePages";"Newsletter");
@Command([OpenDocument])

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!!!
ASKER CERTIFIED SOLUTION
Avatar of Sjef Bosman
Sjef BosmanFlag of France imageGroupware Consultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 12 Comments.
See Answers