Solved

Appending Field Values to A text String

Posted on 2004-10-13
2
184 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
Comment Utility
Thes are multi-valuefields, and that's how Notes deals with text lists.  Instead use @Implode(Prod; ", ")
0
 

Author Comment

by:Jaziar
Comment Utility
Great - check my next question :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now