Hi all
I have a lotusscript function that gets a document by unid and then changes the form name (but doesnt save it). Then I set the target frame and do ws.editdocument. The document opens in the correct frame but not using the form I specify.
If I EITHER save the doc (which I dont want to do) OR remove the settargetframe the doc opens using the correct form. But I dont want to save the document, and when I remove the settargetframe it obviously opens the doc in the wrong frame.
Does anyone know if I can use settargetframe and switch the form all at the same time?
Thanks in advance
Sarah
Subject: SPR’d
If anyone else comes across this post, I notified Lotus and it has been SPR’d. So it is a bug.
I got round it by creating a blank doc with the correct form name and opened it in the set frame. Then in the postopen made it locate the values of the correct form and populate it that way. A big pain but at least it works now!
Sarah
Subject: SPR’d
If anyone else comes across this post, I notified Lotus and it has been SPR’d. So it is a bug.
I got round it by creating a blank doc with the correct form name and opened it in the set frame. Then in the postopen made it locate the values of the correct form and populate it that way. A big pain but at least it works now!
Sarah