I have been through the forum and cannot find a definitive answer to the following problem.
While doing a proof of concept on an upgrade from 5.1.12 to 6.5, code that was working under 5.0.12 now fails to run on 6.5. This is the code:
Dim ExposuresField As notesRichTextItem
Set ExposuresField = New NotesRichTextItem( currentPage , “ExposuresTable” )
Set ExposuresField = currentPage.replaceItemValue( “ExposuresTable”,“” )
…
Call ExposuresField.AppendText(|[|+eHTML+|]|)
With this code in, the ExposuuresField does not get populated. However, if I comment out the line
Set ExposuresField = currentPage.replaceItemValue( “ExposuresTable”,“” )
it works!!
Now we had this line in to ensure the field exists on the currentpage, and think that it may still be required in certain circumstances, so what I need to know is:-
Has this been replaced with a new Method?
Will AppendText work if the field is not present?
Am I missing something in Domino 6.5?
Any help would be appreciated!