Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2006, 11:35 AM
Authorized User
 
Join Date: Sep 2006
Posts: 73
Thanks: 6
Thanked 0 Times in 0 Posts
Default SOLVED...Adding Colors to Wingding Fonts

Hello All:

I built a report and I am trying to change the color of a wingding font based on a IIf statement. My statement is:

=IIf([Build Status]="Completed","J",IIf([Build Status]="In Process","K",IIf([Built In SCM?]<>Yes,"L")))

What happens is if the Build Status = Completed, In process or Built in SCM? <> Yes, a smily face wingding, a half smile face wingding and a frowning face wingding print, in respective order. It works but I would like a green smiley face, a yellow half smile and a red frowning face. Is this possible?

Thanks,
Tony

** Edited.. The above IIf statement is in the Control Source in an unbound text box.


SOLVED... I figured it out. I right-clicked on the text box and used Conditional Formatting and specified that if the Field Value is equal to "J" (Wingding ALT+074), then change font to specified color, etc.. and the same for Field Value 2 and Field Value 3.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordml fonts johnlaw83 XSLT 1 June 19th, 2007 09:39 AM
Using different colors and fonts in a richtextbox pascali70 C# 1 December 14th, 2006 08:45 AM
Word has no Fonts BrianWren Word VBA 1 September 8th, 2006 12:33 PM
Iterating Fonts Ron Howerton Visual Basic 2005 Basics 9 May 31st, 2006 07:15 PM
Pulling Fonts from Word mruthven Pro VB.NET 2002/2003 0 November 13th, 2004 04:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.