Hi,
Within a form, is it possible to close another form with lotusscript or formula ?
For example: Form A is loaded, then I open Form B from Form A. When I close Form A, I want to close Form B with lotusscript or formula.
Thx.
Hi,
Within a form, is it possible to close another form with lotusscript or formula ?
For example: Form A is loaded, then I open Form B from Form A. When I close Form A, I want to close Form B with lotusscript or formula.
Thx.
Subject: Closing a form from another form
I know this is an old post, but I have a similar situation and I was hoping someone could help. I’m a real newbie so please bear with me.
I’m in FormA with an action button that I want to open FormB and close FormA. I was able to open FormB, but I can’t figure out how to close FormA. Seems when I try the standard @Command([FileCloseWindow]) it keeps closing the FormB which I just opened. Can anyone please help? I think I need to do it on the QueryClose with FormAUIDoc.Close, but I keep getting the error Variant does not contain an object. I guess because it’s not globally defined, but I don’t understand how to do that part.
Thanks sooo much for any help!
Subject: Closing a form from another form
You need to have a global handle to FormB (NotesUIDocument) doc in FormA doc In FormA QueryClose event use FormBUIDoc.Close