I have an action button one document (A) that is supposed to open another document (B) and populate some selected fields using data already entered into document (A). However, document (B) uses frames (two frames, a header on top and the body in the bottom frame). And, I cant populate the fields in the bottom frame (where document (B) is) because Notes defaults the current document to the top frame.
Does anyone know how to choose which frame you want to manipulate in this case? I have included the code I am using below…Thanks in advance…
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim doc As NotesDocument
Dim newdoc As NotesDocument
Dim newUidoc As NotesUIDocument
'Get current document
Set uidoc = workspace.CurrentDocument
Set doc = uidoc.Document
'Compose the new Postiion
'Set newUidoc = workspace.ComposeDocument("", "", "assTag")
Set newUidoc = workspace.ComposeDocument("","","assTag",,,False)
Set newUidoc = workspace.CurrentDocument
Call newUidoc.FieldSetText("assDetClass", doc.HwAssClass(0))
End Sub