Solved

How to 'Cross Out" text in a text box if the used clicks a check box?

Posted on 2014-11-03
2
223 Views
Last Modified: 2014-11-04
I am trying to "cross out" text on a report if the user click the check box called "No".

I can't find anything on the net that does this.

Any help is appreciated
0
Comment
Question by:cssc1
2 Comments
 
LVL 34

Accepted Solution

by:
PatHartman earned 250 total points
Comment Utility
You would need to change the font.  A better Access solution would be to "gray" out the box by setting both the enabled and locked properties to false. Or by changing the foreground or background color.  You will need code in the Current event of the form to "mark" existing records as you scroll to them as well as code in the AfterUpdate event of the checkbox to toggle the settings.
0
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
Comment Utility
You could use a RichTextBox to do this, but it'd be complicated in the extreme, and not very user friendly. Access isn't really a word processor so doing things like this is difficult (at best).

Pat's suggestions would be the way to go - just disable the control.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now