Solved

Strikethrough field

Posted on 2013-06-30
3
296 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
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 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…

911 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

21 Experts available now in Live!

Get 1:1 Help Now