Hi - just come across an interesting but annoying bug in 8.5.1 (FP3)
I’m writing an application where someone can enter timesheets against a project. You open the ‘Person’ you’re creating the timesheets for and hit the ‘Create Timesheet’ button. This pops open a dialog box. In the dialog box there’s a button which uses a neat little @Picklist formula to allow you to select the project document, and the project document unid is written to a field. If you then click OK on the dialog, the lotusscript behind the ‘Create Timesheet’ button sets some fields in the background, then sets the underlying document to be a new document and pops open the dialog box again to allow the user to enter another timesheet. The second time the dialog is used, @formulas which set fields don’t work. The value is returned from the Picklist, but neither FIELD fieldname:=unid or @SetField(“fieldname”;unid) will work. And it’s not just that field, I set up a test button to set one of the other fields and that didn’t work either.
Setting the timesheet document to Nothing in the lotusscript, and Deleting it between dialog box invocations didn’t change anything.
I’ve now changed the button code to be lotusscript because i haven’t got the time or the energy to track down why this doesn’t work in 8.5.1 FP3 (works fine in 7.0.2) but it’s a shame - my Formula was 2 lines of code, Lotusscript is 9 to achieve the same thing
Emily