Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Converting Int to Hex

Posted on 1999-01-25
4
Medium Priority
?
882 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 800 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

Technology Partners: 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 Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
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.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

604 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