Unlike other posts that see this error, I have no .SelectAll statement or OnFocus code. Like the other posts, the problem manifests itself only after opening a document and then clicking on the “Edit Document” action button. The order of events is:
Sub Querymodechange … (Nothing of merit happens here)
Sub Entering(Source As Field)
fieldName$ = uidoc.CurrentField
Call uidoc.FieldSetText ( "nLineStep","0" )
Call uidoc.FieldSetText( "cHoldStatus",uidoc.FieldGetText(fieldName$))
End Sub
Sub Postrecalc … (Empty so don’t know why it was even entered)
The messagebox “Lotus Notes, ! , Attempt to execute nested form events., OK” appears. This seems to be the bottom of a stack and we now work our way back up, calling each subroutine again as we go along.
Sub Postrecalc … (*Still empty but here we are again. On the next iteration of testing, I deleted the null contents to stop it being called. I NO LONGER GET THE ERROR WHEN IN DEBUG BUT DO GET THE ERROR WHEN RUNNING OUT OF DEBUG!!! *)
Sub Entering(Source As Field)
fieldName$ = uidoc.CurrentField
Call uidoc.FieldSetText ( "nLineStep","0" )
Call uidoc.FieldSetText( "cHoldStatus",uidoc.FieldGetText(fieldName$))
End Sub (But this time (before deleting the Postrecalc Sub) the first line of code is skipped over. After executing the last FieldSetText (stepping through in Debug), I do see a screen blip - from setting the field?)
Sub Postmodechange … (was empty so I deleted it and it is no longer called)
So, has anyone heard from the other posts heard from Lotus Development about a fix? Does this happen on R6 versions after 6.0.2 CF1? Has anyone fixed a problem like this?