Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
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
Reply With Quote
  #5 (permalink)  
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:03 PM.


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