Hi,
I know this should be very easy but I cannot realize how to do it. I would be really grateful if someone could please tell me how can I do to retrieve the text that a Rich text field has.
I would be just that, using a UIDOC, I need retrieve the plain text and save it in a string variable.
Time is really appreciated as I am preparing a small application to show in a conference.
Best Regards,
Subject: Retrieve plain text from a Rich text field using lotus script
The following piece of code should do it:
Dim ws As New NotesUIWorkspace
Dim doc As NotesDocument
Set doc = ws.CurrentDocument.Document
Msgbox doc.GetItemValue (“Body”) (0)
The UI document containing the Richtext field must have been saved before.
Ruedi
Subject: RE: Retrieve plain text from a Rich text field using lotus script
Thanks to both of you 
It worked fine !!
Martin
Subject: Retrieve plain text from a Rich text field using lotus script
Hi ,you can use @Abstract with [TEXTONLY] option.Try to find out more in your lotus notes help file.