KevinBrennan
IS-IT--Management
I have an Access application with a home-built email generator. It pulls the text of the message from a table. The message text includes variable names that are set by a program. For instance
msg="Dear " & FName & ", " & vbCRLF & " blah..."
FName = "Bill"
Now, msg is pulled correctly from the table and FName is set by the program. When I launch Outlook, I get an error that FName is not found, and the body of the message contains the string for msg without processing the concatenations and resolving the value for FName.
I hope this is clear. PLease help!
msg="Dear " & FName & ", " & vbCRLF & " blah..."
FName = "Bill"
Now, msg is pulled correctly from the table and FName is set by the program. When I launch Outlook, I get an error that FName is not found, and the body of the message contains the string for msg without processing the concatenations and resolving the value for FName.
I hope this is clear. PLease help!