Solved

Creating unique id's in Lotus Notes

Posted on 2007-11-28
2
781 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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

10 Experts available now in Live!

Get 1:1 Help Now