I have two libraries:
1 holds constants, e.g. gl_MailGender = "Gender: "
2 holds subs and functions
In 2 it is possible to reference to 1 and it always worked. But I introduced some new constants which are meant to be written into the body-field of an email and they can't be referenced.
The code looks like this:
Gender$ = doc.fl_Gender(0) 'either male or female
Set rtitem = New NotesRichTextItem( maildoc, "Body" )
Call rtitem.AppendText( gl_MailGender )
Call rtitem.AppendText( Gender$ )
Call rtitem.AddNewLine( 1 )
I did check in the debugger and found out that all constants which are used with AppendText are not listed in globals but are listed together with the variables.
What is wrong? Is it the use of AppendText with constants or something else?
Thanks in advance for everybody helping me, Olaf