Solved

Converting Int to Hex

Posted on 1999-01-25
4
878 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
[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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

696 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