Solved

Appending Field Values to A text String

Posted on 2004-10-13
2
191 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Suggested Courses

635 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