dear friends,i have trouble in using notesuiworkspace.editdocument and notesuiworkspace.settargetframe together.
i divide 2 frame in frameset. in left frame, i link to “formA”, and in right frame, i link to “frA”
in “formA”, i use action hotspot.
here is my code for action hotspot:
sub click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = db.CreateDocument
doc.form = “frA”
doc.field1 = “1”
doc.field2 = “2”
workspace.EditDocument True, doc, False
end sub
in form “frA” i have two field: field1 and field2. that the field always change the value according to the action hotspot
my trouble is: when i click the action hotspot it always create a new window with the title “Untitled”.
i want the title is same like the first time i run “happy birhday”
thanx for answering my question