I create a doclink in a newly created document, referencing the source document. Very straightforward, link is created, no problem there. The problem comes when I open the newly created document, and click the doclink. When I click the link, it closes the document containing the link, opens the linked document, and skips the queryclose event.
This is very different behavior from other applications, where the link opens the linked document, and leaves the document containing the link open.
I originally had the link in a subform, with the queryclose event on the form, so I moved the link to the form. No change.
I tried to do a right-click, open in new window. Same deal.
I could cope with either both documents remaining open, and manually closing the document containing the link, or having the queryclose event run on termination, but the queryclose event must run if the window closes in edit mode. (The document containing the link was in edit mode.)
Anyone have any ideas about what could be causing the deviant behavior? Maybe a setting I am missing?
Thanks for your help.