Here is the code:…
Dim session As New NotesSession
…
Dim attach As Variant
attach = session.Evaluate(“@AttachmentNames”,doc)
Call smsbody.EmbedObject(EMBED_ATTACHMENT,“”,attach)
…
a compiling error prompts that Evaluate is not a member of session.
and the help said that Evaluate method is supported in COM only,
Subject: [compile error] Initialize: Not a member: EVALUATE
it must be:attach = Evaluate(“@AttachmentNames”,doc)
instead off:
attach = session.Evaluate(“@AttachmentNames”,doc)
Subject: RE: [compile error] Initialize: Not a member: EVALUATE
In LotusScript, you should just use the Evaluate statement. In Java and in COM, you need to use the method instead, which is why you will see them documented.