I am having a problem with CurrentDocument of NotesUIWorkspace being set to Nothing when debug is on.
In doing some searching I see this is a know issue?
Does anyone have the SPR?
I have been pretty much able to duplicate the problem by putting a button on a form and using send form with document.
Has this been fixed in 8.51?
[rant]
More typical poor QA from Lotus/IBM. In the short time I have been using debug in 8.5 I have had nothing but grief. Crashes, lockups things not working as they should etc.
Maybe Lotus/IBM should stop turning out all of the new fancy features that no one is going to use anyway and concentrate on turning out a stable product for once.
[/rant]
Subject: Not sure if this is the same issue…
Title: The NotesUIDocument Classes CurrentField Property Returns “” (Null) in a Button
Doc #: 1091622
URL: http://www.ibm.com/support/docview.wss?rs=899&uid=swg21091622
Subject: this is a common problem with Modal events
and it’s not restricted to Notes, so you can retract the rant.
In fact, Notes offers a much cleaner solution than others (like Outlook).
For example, if you pop-up a dialog box and need to copy/paste from the window that invoked the dialog, you can’t. You have to copy to the clipboard, pop-up the dialog and then paste. If there are multiple fields, it’s a nightmare - like ordinary users will understand this 
But in Notes, you can open the dialog box as a separate window, and then you can switch back-and-forth to copy/paste as many fields as you need. It’s not possible in Outlook.
Subject: CurrentDocument set to nothing in Debug - Any one have the SPR?
Thanks but that is not it.
That issue is for currentfield not current document.