Skip to main content
REMINDER: On December 1, 2018, this forum will be closed to new posts and responses. After that date, you will still be able to view and search the forum. New discussions should take place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: How To ADD any name in Author Field by Formula
Harkpabst Meliantrop 7.Aug.18 08:23 AM a Web browser
Notes Client 7.0.3 Windows Vista


First, your Authors field must be set to "allow multiple values" for this to work properly.

The formula is simple enough. In Formula language everything is a list (containing one or more elements). All you have to do is to add one list element to the list that is already in the field. It is always a good idea to use @Trim to remove empty values and @Unique to remove duplicate values.

How you do this depends on how you enter the new value. If this is a Notes client application and there is a button to populate the Authors field, you would write something like this:
FIELD Authors := @Unique(@Trim(Authors : "The New Name"))

If the The New Name was in an names field called "NewAuthor", this would translate to:
FIELD Authors := @Unique(@Trim(Authors : NewAuthor))

If the Authors field is a computed field, that should get the new value when saving the document, your Value formula would simply be:
@Unique(@Trim(Authors : NewAuthor))
or
@Unique(@Trim(@ThisValue : NewAuthor))




How To ADD any name in Author Field... (amar ku das 7.Aug.18)
. . RE: How To ADD any name in Author F... (Harkpabst Melia... 7.Aug.18)
. . . . RE: How To ADD any name in Author F... (amar ku das 8.Aug.18)
. . . . . . The answer is in the previous answe... (Carl Tyler 8.Aug.18)
. . . . . . . . RE: The answer is in the previous a... (amar ku das 9.Aug.18)
. . . . . . . . RE: The answer is in the previous a... (Rich Schwartz 13.Aug.18)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite