Solved

sorting a field in Input Translation

Posted on 2004-09-28
6
198 Views
Last Modified: 2013-12-18
Hi,
I've a multi-value field in a form. The field can contain many values. Each value is seperated by a comma.
Now when the user saves the document, I want all the values in the field to be sorted in an ascending order automatically.

I guess it has to be done in the field input translation.

Is this possible.
Please advise.
thanks
Sridevi
0
Comment
Question by:sridevi911
  • 3
  • 2
6 Comments
 
LVL 14

Expert Comment

by:p_partha
ID: 12176326
Is it R6?

Partha
0
 
LVL 14

Accepted Solution

by:
p_partha earned 30 total points
ID: 12176356
you can use @sort if it is r6, otherwise you might end up using lotusscript and doa  sort

Partha
0
 

Author Comment

by:sridevi911
ID: 12176381
yes the client is 6.5.2.  

how in lotus script?
0
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.

 

Author Comment

by:sridevi911
ID: 12176432
@sort works fine partha...

But the only constraint is that it always sorts in Ascending order. What If I want Descending?

thanks
0
 

Author Comment

by:sridevi911
ID: 12176457
also not sure if @sort works for alphanumeric values
0
 
LVL 46

Assisted Solution

by:Sjef Bosman
Sjef Bosman earned 20 total points
ID: 12177341
Read the Designer Help, under @Sort:

    @Sort(list; [order]; formula)

In your case, probably @Sort(values; [DESCENDING]) will do. Sort will work on text, number or date values.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

827 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