Solved

Appending Field Values to A text String

Posted on 2004-10-13
2
188 Views
Last Modified: 2013-12-18
I have 5 fields in my form
                                   (field)           (field)       (field)      (field)    (field)
What is Your Product : ProMono   ColorMono    LaserMFP     SS     Connect

The User Has the Option to add a value to one or all fields.

In a view I can simply do a value

@Trim(ProMono:ColorMono:LaserMFP:SS:Connect);

And get what I need.  The problem is I need to add the values to a email subject line -  I think it is too much but the client is wanting it.  Here is what I have thus far

Mail := @Trim("Jaziar Mindstrom");
message := "Testing";
DBTITLE := @DbTitle;
Prod := @Trim(ProMono:ColorMono:LaserMFP:SS:Connect);
subject := "[ Country : " +  COUNTRY+" ] " + "[ Customer Name: " + EmeaEndUser + " ] " + "[ EMEA SPR #: " + EmeaNum  + " ] " + "[ Product Name: " + Prod + " ] ";
@MailSend(Mail; ""; "";subject; ""; message + @NewLine+@NewLine; [IncludeDoclink])


What happens is for every  entry in Prod, it creates a dupilicate entry in the subject with the value.  

Example  [Counrty] [Joe Smoe] [SPR 1] [prod1] [Counrty] [Joe Smoe] [SPR 1] [prod2] [Counrty] [Joe Smoe] [SPR 1] [prod3]

All is want is [Counrty] [Joe Smoe] [SPR 1] [prod1, prod2, prod3]

Thanks

0
Comment
Question by:Jaziar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 125 total points
ID: 12301844
Thes are multi-valuefields, and that's how Notes deals with text lists.  Instead use @Implode(Prod; ", ")
0
 

Author Comment

by:Jaziar
ID: 12302139
Great - check my next question :)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Lotus notes - forward mails agent with these conditions in subject, 3 237
Lotus notes VB code 4 212
Lotus Domino server 9 7 88
@Mailsend 3 77
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question