×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

changing font color for poritons of text field for a single record

changing font color for poritons of text field for a single record

changing font color for poritons of text field for a single record

(OP)
Is there a way to change the font color on a single record for changes made to the text field (to track changes in form from year to year.)  I coded the onchange event for a field and it did change, but it changed the whole field for every record.  I just want a portion of the field changed and for only that record (I would settle for only that record, if this is even possible.)  An alternative would be just to format the font as I type in the form, but this does not seem possible...Your help is greatly apprciated.

RE: changing font color for poritons of text field for a single record

You can't format only a part of the text in a normal text box. You could use a RichText control, which allows internal formatting, but the standard version of Access doesn't provide one, so you'd have to get the control from somewhere else, and obtain redistribution rights for it if you intend to distribute your application.

But I warn you: changing a RichText control's formatting from code is an intricate operation. You'll have to really study the documentation, and expect to work at it for a while.

RE: changing font color for poritons of text field for a single record

If you provide a field in your table that could indicate if changes have occured then you can highlight text or backcolor for this record when you display it. Send me an email if you would like a copy of a sample db with this item covered.

John A. Gilman
gms@uslink.net

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close