David Schmalzer
asked on
Response Button
I have a button on a form to call up a Response document which is an exact copy of the main form. I don't have it set to inherit so it comes up blank which is what I want. My question is this. In the button, after the response document is called, I would like the original main document to be closed so as not to cause confusion between the two documents. How can this be done?
In script it is easy just use NotesUIDocument.Close before calling NotesUIWorkspace.Compose method
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
have like this:
when u click on the response document button just close the window
@command([fileclosewindow] );
and in the queryclose chang eit to formula
@command([compose];"<respo nseformnam e>")
Partha
have like this:
when u click on the response document button just close the window
@command([fileclosewindow]
and in the queryclose chang eit to formula
@command([compose];"<respo
Partha
ASKER
Works perfect! Sorry Partha, but with your solution the response would come up every time I closed the document whether I clicked the button or not. But thanks anyway.
~Hemanth