I have a legacy application that has been working fine with Notes 7 Client and Domino 8 servers, After we ugraded our notes clients to Release 8.5.2FP1 SHF231. I now get an error that does not occur when debugging is enabled !.
The error is ‘object variable not set’ and occurs during the postsave event of the form. the following script extract shows the indicated error line; it is the function call (resides in script library) immediately following the If statement.
If DocCurrent.txtStatus(0)=“Submitted” Then
Call CreateGCATSecurityandDeletionRecord(DocCurrent )
Msgbox "Your reQuest has been submitted successfully.",64,"Confirmation"
Call Source.fieldsettext("Saveoptions", "0")
End If
Now given that
-
‘DocCurrent’ has already been set and tested by the ‘IF’ to reach the call.
-
The code works in a 7 Client.
-
The code works in an 8 Client when ‘Debug LotusScript’ is enabled
-
The Application is running on a Domino 7.0.3 server in production and 8 in test.
Why is the 8 Client failing at this point when run normally ?
Any suggestions on how to go about resolving this conundrum would be greatly appreciated.