Solved

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

Posted on 2014-11-03
2
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Accepted Solution

by:
PatHartman earned 250 total points
ID: 40420542
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
ID: 40420661
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

733 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