Converting Int to Hex

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?
lloydtAsked:
Who is Participating?
 
phooeyCommented:
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
 
lloydtAuthor Commented:
Edited text of question
0
 
lloydtAuthor Commented:
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
 
phooeyCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.