VB - Editing Notes Databases
Posted on 1999-08-03
I am currently trying to edit a Lotus Notes database using Notes classes. The problems are as following:
1) When trying to view the object variables I create (such as NotesItem, NotesDocument), VB comes up with the error "Object Library not Registered". Which file do I need to register to remove this error?
2) When using the ReplaceItemValue command, the value of the item is cleared, but not replaced. Also, when I view the relevant document in Lotus Notes, the form displays a cleared value, but the view displays the value before it was cleared. where does this inconsitency come from? I am using the code below:
doc_src is a NotesDocument, Text2 is a textbox containing the name of a valid item and Text3 is a textbox containing a string. This item I am trying to change is of type Text.
doc_src.REPLACEITEMVALUE Text2, Text3
I am using VB5 and Notes 4.6.2a
Thank you for any help