Dan Lebrun 22.Sep.11 10:26 AM a Web browser Applications Development6.5.5Windows XP
Hi,
I have a button in a form that is supposed to create a new memo and insert some of the current document's text fields' values in the email's body.
I get a LS Execution error message (at the second last line of code hereunder) saying:
"Variant does not contain a container"
Can someone explain what this means and how do I fix this?
Sub Click(Source As Button)
Dim workspace As New notesuiworkspace
Dim session As New notessession
Dim db As notesdatabase
Dim uidoc As notesuidocument
Dim curdoc, ndocPara As notesdocument
Dim view As NotesView
Dim mail As notesdocument
Dim rtitem As Variant
Dim Details As NotesRichTextItem
Dim TheDemand As String
Set db = session.currentdatabase
Set uidoc = workspace.currentdocument
Set curdoc = uidoc.document