Solved

Creating unique id's in Lotus Notes

Posted on 2007-11-28
2
793 Views
Last Modified: 2013-12-18
Today, I was approached by represenatives from my HR department. They want to include a function to create a unique id for all employees. It needs to be six characters and can be alpha-numeric. To be more efficient, I think I should produce a list of all posibilities and then start going sequentially through the list sequentially. I think this would work better then trying to randomly create an id, then checking to see if it has been used before.

I guess my first question is, any ideas on how to get Lotus Notes to produce this for me?

My second question is, got any better ideas?
0
Comment
Question by:NormCox
2 Comments
 
LVL 22

Accepted Solution

by:
Bill-Hanson earned 500 total points
ID: 20369153
Use this function:

    @Right(@Unique; "-")

It is guaranteed to be unique and is 6 chars.  If you need it in LotusScript, use this:

    Evaluate({@Right(@Unique; "-")})(0)
0
 
LVL 1

Author Comment

by:NormCox
ID: 20373595
I guess I never had read the first line in the @Unique entry in designer help. Thanks very much for you assistance.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
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.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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 …

777 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