Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Strikethrough field

Posted on 2013-06-30
3
Medium Priority
?
350 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

604 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