Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 443739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:12:04+00:00 2026-05-12T21:12:04+00:00

I need to use rich text formatting for a field in a report in

  • 0

I need to use rich text formatting for a field in a report in MS Access in order to use character spacing. In the report, attempting to change the Text Format in the field’s properties from Plain Text to Rich Text Produces the error: “The setting you entered isn’t valid for this property.” I presume that is because the field is not a memo data type, (apparently the only data type which supports RTF). It is in the format “XXXX_XXXX” where * and _ are literal characters and the X’s represent numbers 0 through 9.

For context: The workflow of this DB is that it has a single form that when specifying an Id, queries a linked table, generates a report based on the query result, and outputs it to PDF.

The field’s control source is a field from the query result.

Everything works fine but I need to be able to set this field to RTF. The font is a TrueType font if that makes any difference. Essentially I want to have a fixed height on the field and stretch it horizontally across the width. i.e. in CSS it would be defined roughly as “max-height: 30px; width: 100%;”

Things that I have tried:

In the Query Design View, setting the field’s Text Format to Rich Text. I still receive an error when setting the field’s Text Format in the Report Design View.

Other idea is to explicitly convert field to the Memo data type (anything over 255 implicitly gets converted to this type), but I am not sure of how to do that in SQl [MS SQL Server we would use something like CONVERT([fieldname], text)]

Would creating a custom format help? I’d imagine not because it would still be plaintext.

Thanks in advance for any help and comments.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:12:04+00:00Added an answer on May 12, 2026 at 9:12 pm

    You can’t change a BOUND text box to rich text unless the underlying column is a rich text column (memo). However, a simple workaround is place an un-bound text box on the report. Simply set the text to rich text in the property sheet (again, there is no need to use code to try and change this value). Once you have the text box placed on the form, then in the forms “detail-format” which fires for each record, you can in code go:

    Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
    
        Me.MyTextBox = "<div><font face=Arial size=4 color=Blue>" & _
                       "<strong>My Blue Bold Text</strong></font></div>"
    
    End Sub
    

    So, you can pull values from other columns in the above code, but keep in mind for reports there must be a corresponding bound control to reference any column, where as a form does not have this requirement

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the best rich text box to use with ASP.NET 2.0? I need
I need to use Google Transliteration along with rich-text editing support. The Google Transliteration
I need to render some Rich Text in the screen that needs to change
I wanted to use a Rich Text Editor for a text area inside an
I implemented tinyMCE to fulfill the we need a rich text editor requirement but
I need to display a table in rich text within a form window. It
I searched around for a basic WYSIWYG rich text editor that I can use
I'm thinking of developing a more efficient version of the Rich Text format but
I need to store significant amounts of rich text in a SQL database, retrieve
I use this function to get a line of text from a rich edit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.