Solved

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

Posted on 2014-11-03
2
234 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 37

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 85

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

Independent Software Vendors: 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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

707 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