Solved

Strikethrough field

Posted on 2013-06-30
3
312 Views
Last Modified: 2013-06-30
Experts, what would be the proper way to strikethrough a field (much like you can in MS Word) if a certain condition were true?   txtAmount is a field on a form.   If it is possible to do this through conditional formatting let me know.  

If me.cboExpiredYN = -1 then
     me.txtAmount      'here is where I want the strikethrough


I am wanting to strikethrough the txtAmount if the ExpiredYN = Yes (-1)
I guess the If statement would be in the ON Current event.
0
Comment
Question by:pdvsa
  • 2
3 Comments
 
LVL 27

Expert Comment

by:MacroShadow
ID: 39288442
No pure Access way to do it. You can use a Microsoft Forms textbox control and use something like this: ocxText.Font.Strikethrough = True
0
 
LVL 27

Accepted Solution

by:
MacroShadow earned 500 total points
ID: 39288444
0
 

Author Closing Comment

by:pdvsa
ID: 39288651
thank you
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

791 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