Dear all,
I tried to use SetTargetFrame in Lotus Script but it give me error “Target Frame is ancestor of script object”. What is this mean ? My script is as following :
Call ws.SetTargetFrame(“Content Frame”)
Set newdoc = ws.composedocument(“”, “”, “Form 2”)
Please advice. Thanks.
Subject: SOLUTION: Set Target Frame in Lotus Script
This code open the uidoc in new tab or window and not show ‘Target frame is ancestor of script object’ message. This is my solution:
Call ws.SetTargetFrame(“”)
Set uidoc = ws.EditDocument( false, doc )
Subject: Set Target Frame in Lotus Script
Try to name the frameset in the launch options of the form.
Subject: Set Target Frame in Lotus Script
Set the returnNotesUIDocument flag to false in your compose call.