Solved

Appending Field Values to A text String

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 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