Solved

Creating unique id's in Lotus Notes

Posted on 2007-11-28
2
822 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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.

Question has a verified solution.

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

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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