R6 differences from R5? Computed Fields and NotesUIWorkspace

We have an R5 application which has LotusScript running in a ‘Computed when Composed’ fields ‘Initialize’ event without any issues. We are now testing this in R6 and have found a few things that surprise me. We are new to R6 by the way.

In R6 the same field does not have any events other than ‘Value’ so we cannot edit the LotusScript (you can see the code if you change the field to be Editable and you can see it in the debugged when running).

The Lotus Script itself has a call to NotesUIWorkspace which it uses to get the CurrentDocument (when creating the document). In R5 this gets instantiated correctly but in R6 it is blank.

I am not sure if these two issues are related but does anyone know why? Is R6 that different to R5? Are there any workarounds?

Thanks for any help.

Fintan

Subject: R6 differences from R5? Computed Fields and NotesUIWorkspace

I haven’t seen this exact problem yet but found an issue with the document PostOpen event in that you cannot set values in the NotesDocument (back-end) which we have used extensively in an application. Reading through the 6 help it suggested that this code should move to the OnLoad event but trying to set fields into the document still doesn’t work. When using the front end classes fields have to editable this is quite frustrating as I have had to code up editable hidden fields and computed for display un-hidden fields and do a relaod to present an un-editable form!