Is it possible that something happens after PostSave? I have a very strange problem with field values disappearing in some circumstances. I have looked at the Form’s PostSave event, and right through to the very end, the fields have the expected value. But when the document is re-opened or examined in the view, these fields are empty.
This is an example of what’s in the form’s Postsave
Before it runs’ the LotusScript PostScript, I can see that the field EventID is empty …
Dim a As String
a = source.FieldGetText(“EventID”)
Messagebox a,64,“Before” gives me a blank
then it runs the PostScript …
Call csEventObj.PostSave()
and the fields are correctly populated
b = source.FieldGetText(“EventID”)
Messagebox b,64,“After” gives me the correct value.
Immediately after this, the document is closed (Call csEventObj.PostSave() is indeed the last thing in the form’s PostSave) , but the field EventID does not exist in this document!!!
Can anyone help me - I’m going nuts.