In R6, the following LotusScript formula does not create an error:
(document item of type text) * integer
but in R5 it does.
To duplicate:
- Create a form with a text field and a button with the following LotusScript formula:
Dim ws As New notesuiworkspace
Dim doc_Current As NotesDocument
Set doc_Current = ws.CurrentDocument.Document
Messagebox doc_Current.TextField(0) * 100
-
Create a document using the form.
-
Type a value in the text field.
-
Click the button.
In R6 it works. R5 - “type mismatch” error.
Two questions:
-
Is this an intentional feature?
-
Is this documented anywhere? (as a feature or as a bug)
Thanks.
-Adam