A simple msgbox doc.noteID returns AAE when the ID is 00000AA. I have tried capturing the value in a variable Dim-ed as a String. Same result.
Subject: NotedId Error
The raw NoteID should be four bytes (eight hex characters), so I’d check the “00000AA” value again. It’s probably “00000AAE”.
Subject: RE: NotedId Error
Yes just a typo on my part. If I look at the Id through the properties it is 00000AAE but any programmatic refrence just returns the AAE even checked the Debug.
Subject: RE: NotedId Error
That’s as it should be; there’s no error there. One value is an unsigned Int32 represented as hex, the other is its string equivalent. Since LotusScript, Formula Language and Java use the string value to get the value and access the document using the value, the apparent loss of the leading zeros means nothing.
Subject: RE: NotedId Error
OK thanks. I thought the reason my agent wasn’t working was because of that abreviated ID. I’ll go look else where now.