Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 January 25th, 2005, 10:59 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: , , United Kingdom.
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Default Highlight record

Is there any way to highlight a record on a continuous form?? When i try to set the backcolor of a control all controls are set the same color.
 
Old January 25th, 2005, 12:27 PM
Authorized User
 
Join Date: Mar 2004
Location: Watford, , United Kingdom.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what you need is called Conditional Formatting.

Select the object you want to colour and then select Conditional Formatting on the Format menu. Under Condition 1 you can say what the special formatting is and when you want it to apply. You can set up additional conditions if you wish.

I don't think that you can change the background colour of a record in this way but you could get round this by puttinga rectangle under everything else and using conditional formatting on that.



R
 
Old January 26th, 2005, 09:08 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

You may want to look at this answer I gave for a similar post.

http://p2p.wrox.com/topic.asp?TOPIC_ID=210

It addresses a background color, but you can shrink the "background" to look like a highlighted row. See if you can use it.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old January 27th, 2005, 12:35 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Norwich, Norfolk, United Kingdom.
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Many thanks Greg for this reminder. Missed it first time round.

Clive Astley
 
Old January 28th, 2005, 09:58 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: , , United Kingdom.
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Greg,

This is much easier than alot of the methods I have seen else where!




Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to highlight changes SoberGuy Word VBA 2 October 24th, 2008 11:46 AM
Highlight complete record line Bjorn2Bjorn Access VBA 2 August 14th, 2007 04:43 AM
How to highlight in Excel haiying Excel VBA 5 April 6th, 2005 01:29 PM
how to highlight in Powerpoint haiying Access VBA 6 April 6th, 2005 08:04 AM





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