Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I read the value of an RTF field (VB6 & CR9)

Status
Not open for further replies.

MikeVE

Programmer
Apr 13, 2002
16
GB
I want to use the Value property of fields to check if they are empty. The data comes from an Access table using ADO. I can do this happily with simple text fields by looking at the fields Value property. The problem field comes from memo data and is formated using the text interpretation set to RTF. If I test the field with the line:

If srptAnnualIndividualReviews_fldReviewText.Value = Null

I get correct information. The problem comes when I have a field that appears empty in the report but actually has RTF formatting. My method tells me it has text in but it is not readable text - just the RTF formatting information. The field's Value property seems to be empty all the time so I can not examine it in detail.

TIA Mike

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top