Document load not triggering for document created in the back end

A computed field formula executing when @IsDocBeingLoaded fires when a new document is created or when an existing document created via the UI is opened, but isn’t being triggered when a document is opened that was created via LotusScript on the back end. If the users edits and saves the document, then the formula works fine the next time the document is opened. Any idea why the load event isn’t triggering for the document created on the back end?

Subject: Document load not triggering for document created in the back end

Is the form field really populated when creating the document in the back-end, or does the document only happen to open with the default form? Not sure, if that might make a difference …

Subject: CORRECTION: Document load not triggering for document created in the back end

It wasn’t the computewithform method after all. On subsequent document saves, the problem persisted. Turns out the real problem was related to using a form header to fix some non-scrolling fields at the top of the form. Turn off the form header and everything works fine every time.

Subject: SOLUTION: Document load not triggering for document created in the back end

Odd … the other developer created the document via LotusScript but ran doc.ComputeWithForm before saving. When he removed the ComputeWithForm line, suddenly the document correctly triggered the onLoad event.

Subject: RE: Document load not triggering for document created in the back end

The form field is being set on the back-end as well.