I have a 4.6.3a created db that uses a SaveOptions field (along with QuerySave LotusScript event) to force the user to click a 'Save & Exit' button for validation rather than File-Save etc. The default for the field, SaveOptions is "0". The abbreviated QuerySave function is:
If Source.EditMode Then
If savecheck = "0" Then
Msgbox "Your changes were not saved. Please use the 'SAVE & EXIT' button to save your changes.",,"Access Denied"
Continue = False
Exit Sub
End If
End If
Abbreviated Formula language when Save & Exit button is clicked:
@SetField("SaveOptions"; "1");
@If(@Command([FileSave]);
@Do(@SetField("SaveOptions"; "0");
@SetField("UsedButton"; "Yes");
@Command([FileCloseWindow]));
"")
This works great in 4.6.3a, but for some reason will not work in 5.08. It seems to always save with SaveOptions = "0" which then fires off the QuerySave event causing the error message. Any ideas? Thanks!

SaveOptions formula language on 4.6... (Brent A Evans 21.Apr.03)
. . 