hi
we have an adapted mailindatabase we developed in Notes 5.
An agent and a replytoall-action don’t work as expected but using the Debugger all is fine completed.
There are no “stop” 's in the code.
Any idea?
best regards
H. Mueller
hi
we have an adapted mailindatabase we developed in Notes 5.
An agent and a replytoall-action don’t work as expected but using the Debugger all is fine completed.
There are no “stop” 's in the code.
Any idea?
best regards
H. Mueller
Subject: my experience
is that when code works in debugger but don’t without debugger then there is an error in the code.
you may try to debug with prints and withput debugger to get a hint on the error.
Subject: Also useful: “on error goto” / & a goto label.
On Error goto logError
exit sub
logError:
MsgBox "Error at line " & Erl & ": " & Error$
exit sub
end sub
Subject: Also useful: “on error goto” / & a goto label.
On Error goto logError
exit sub
logError:
MsgBox "Error at line " & Erl & ": " & Error$
exit sub
end sub
Subject: Part of a Solution
Hi
Thanks a lot Mic !
Using Print Statements I have found a solution for the ReplyToAll-Problem.
Postopen(—)
Me.m_noteUIMemo.Gotofield(“Body”)
Me.m_noteUIMemo.Inserttext(strSignature)
'The following line was no more executed because of the GotoField Statement!
Me.m_noteUIMemo.reload()
End Postopen
So Solution was:
Postopen(—)
Me.m_noteUIMemo.reload()
Me.m_noteUIMemo.Gotofield(“Body”)
Me.m_noteUIMemo.Inserttext(strSignature)
Me.m_noteUIMemo.reload()
End Postopen
See what surprises the Agent will bring