Solved

Converting Int to Hex

Posted on 1999-01-25
4
862 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
Comment Utility
Edited text of question
0
 
LVL 2

Accepted Solution

by:
phooey earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

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…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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