When DocuView is opened Info.FormNotify calls Docu.Set, which calls Docu.Research, which calls DocuView.doReSearch (on the form).
When any the current record changes Info.FormNotify calls Docu.Research, which calls DocuView.doReSearch (on the form).
This `integration' may make it difficult to generally handle the situation, but DocuView could be modified with some specific options in the arguments to the form.
That is, calling the form with an actual buffer in args.record and an option in args.parm or args.parmenum. I think it should suffice to set actualCompanyId, actualTableId and actualRecId from args.record (before executeQuery is called).
DocuView.doReSearch may also need some changes to ignore the call from Info.FormNotify (as mentioned above) in the given situation.