Close parent after child is created

I have come up blank on this one so I am asking the crowd.

I have a document, actually a response document, that is opening a child document. Upon opening this child, I need the parent to be closed.

I am trying to put code into various events on the child but I am not having any luck so far.

Anyone have any code or a fragment of code that will accomplish this?

I would say I am pulling my hair out on this one, but those that know me know that I have none left to pull out.

Subject: document must close itself…

…a document … is opening a child document.

This is the part of the process you need to look at. How is the document opening a child document? If there’s code involved, you can use that code to close the window after opening the other document. It will need to be LotusScript or JavaScript code, though, because you are closing a document that’s not the current document at that point.

  • Andre Guirard, IBM/Lotus Development

Useful blog: Best Practice Makes Perfect

NOTE: My policy is to post only two responses to the same question. So that my second response can solve your problem rather than being a request for details, please read the C R I S P Y document.