Solved

Converting Int to Hex

Posted on 1999-01-25
4
869 Views
Last Modified: 2013-12-18
I am helping someone who has the error "Error:The object store used by this note is not found or is not a notes database." I can fix the error but it involves working with hex numbers and opening the notes.log file, I was trying to find a shorter more user freindly way of fixing the problem since I will be relaying these instructions over the phone to someone. I tried creating a button that will prompt them for the number (note id) in the log file, but I have 2 problems
1. how do I convert the number to hex?  
2. after I convert the number(note id)  and find the memo in question what is the best way to flag or display the memo?
0
Comment
Question by:lloydt
  • 2
  • 2
4 Comments
 

Author Comment

by:lloydt
ID: 1117990
Edited text of question
0
 
LVL 2

Accepted Solution

by:
phooey earned 200 total points
ID: 1117991
Firstly, the Notes ID is a hex value and should not need converting (unless I misunderstand you).
Secondly, I am assuming you are wanting to do this in script so the best thing to do is set a field on the document to a known value and then display all of these in a view.
0
 

Author Comment

by:lloydt
ID: 1117992
Im sorry I should have clarified my question.  To fix the problem you have to look in the notes.log file and it will tell you the memo or memos that are causing the error.  The problem is the log file identifys the memo with a decimal number, you have to convert this to hex in order to locate the memo.  So I am trying to oliviate the step of converting the number to hex with a calculator and then locating the memo. And yes I do want to do this using Lotus script if possible.  Thanks.
0
 
LVL 2

Expert Comment

by:phooey
ID: 1117993
Simply use the
HexID = Hex$( decimal )
function in LotusScript to return the hex number.
Use this returned value in a GetDocumentbyUNID(HexID) and you should be able to locate the document and then set a flag on it.

0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

12 Experts available now in Live!

Get 1:1 Help Now