?
Solved

Strikethrough field

Posted on 2013-06-30
3
Medium Priority
?
343 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
[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
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 2000 total points
ID: 39288444
0
 

Author Closing Comment

by:pdvsa
ID: 39288651
thank you
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

752 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