PC Review


Reply
Thread Tools Rate Thread

Conditional Formatting of text effecting formatting of background

 
 
=?Utf-8?B?SEFI?=
Guest
Posts: n/a
 
      7th Mar 2007
I have a report that shades the background of alternate rows of data. I
tried to set a conditional format to change the text color when one of the
fields is <2. The alternate row background shading vanished for that field,
regardless of what the conditional format causes the text color to do. Is
there any way to fix this?
 
Reply With Quote
 
 
 
 
John Spencer
Guest
Posts: n/a
 
      7th Mar 2007
No guarantee, but after setting the conditional formatting up, try the
following
-- Select the control you have just set up with conditional formatting
-- Select Back Style and set that to transparent.

I tested it with Access 2000 and that seemed to resolve the problem for me.
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..

"HAH" <(E-Mail Removed)> wrote in message
news:ACDF62E9-2C9E-4981-A3CC-(E-Mail Removed)...
>I have a report that shades the background of alternate rows of data. I
> tried to set a conditional format to change the text color when one of the
> fields is <2. The alternate row background shading vanished for that
> field,
> regardless of what the conditional format causes the text color to do. Is
> there any way to fix this?



 
Reply With Quote
 
=?Utf-8?B?SEFI?=
Guest
Posts: n/a
 
      7th Mar 2007
Well, that fixed the background color, but now there is a slight jog in the
row where that space taken up by that control shifts slightly (less than a
grid space) upwards in relation to the rest of the row.

"John Spencer" wrote:

> No guarantee, but after setting the conditional formatting up, try the
> following
> -- Select the control you have just set up with conditional formatting
> -- Select Back Style and set that to transparent.
>
> I tested it with Access 2000 and that seemed to resolve the problem for me.
> --
> John Spencer
> Access MVP 2002-2005, 2007
> Center for Health Program Development and Management
> University of Maryland Baltimore County
> ..
>
> "HAH" <(E-Mail Removed)> wrote in message
> news:ACDF62E9-2C9E-4981-A3CC-(E-Mail Removed)...
> >I have a report that shades the background of alternate rows of data. I
> > tried to set a conditional format to change the text color when one of the
> > fields is <2. The alternate row background shading vanished for that
> > field,
> > regardless of what the conditional format causes the text color to do. Is
> > there any way to fix this?

>
>
>

 
Reply With Quote
 
=?Utf-8?B?SEFI?=
Guest
Posts: n/a
 
      7th Mar 2007
Never mind, I lowered the upper boundry of the control & that fixed it, so
everything's now copasetic.

Thanks for the advise.

Hollie Hoffman

"HAH" wrote:

> Well, that fixed the background color, but now there is a slight jog in the
> row where that space taken up by that control shifts slightly (less than a
> grid space) upwards in relation to the rest of the row.
>
> "John Spencer" wrote:
>
> > No guarantee, but after setting the conditional formatting up, try the
> > following
> > -- Select the control you have just set up with conditional formatting
> > -- Select Back Style and set that to transparent.
> >
> > I tested it with Access 2000 and that seemed to resolve the problem for me.
> > --
> > John Spencer
> > Access MVP 2002-2005, 2007
> > Center for Health Program Development and Management
> > University of Maryland Baltimore County
> > ..
> >
> > "HAH" <(E-Mail Removed)> wrote in message
> > news:ACDF62E9-2C9E-4981-A3CC-(E-Mail Removed)...
> > >I have a report that shades the background of alternate rows of data. I
> > > tried to set a conditional format to change the text color when one of the
> > > fields is <2. The alternate row background shading vanished for that
> > > field,
> > > regardless of what the conditional format causes the text color to do. Is
> > > there any way to fix this?

> >
> >
> >

 
Reply With Quote
 
efandango
Guest
Posts: n/a
 
      23rd Mar 2008
amazingly (and annoyingly) this bug still occurs in Access 2007! c'mon
Microsoft, fix this irritiating problem. Meanwhile, I have tried John's
suggestion; but for me it doesn't work. Has anyone got any other suggestions?



"John Spencer" wrote:

> No guarantee, but after setting the conditional formatting up, try the
> following
> -- Select the control you have just set up with conditional formatting
> -- Select Back Style and set that to transparent.
>
> I tested it with Access 2000 and that seemed to resolve the problem for me.
> --
> John Spencer
> Access MVP 2002-2005, 2007
> Center for Health Program Development and Management
> University of Maryland Baltimore County
> ..
>
> "HAH" <(E-Mail Removed)> wrote in message
> news:ACDF62E9-2C9E-4981-A3CC-(E-Mail Removed)...
> >I have a report that shades the background of alternate rows of data. I
> > tried to set a conditional format to change the text color when one of the
> > fields is <2. The alternate row background shading vanished for that
> > field,
> > regardless of what the conditional format causes the text color to do. Is
> > there any way to fix this?

>
>
>

 
Reply With Quote
 
Stephen Lebans
Guest
Posts: n/a
 
      24th Mar 2008
Why even bother with CF for a report. It's simple to write a few lines of
code in the Detail section Format event to accomplish your goals.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"efandango" <(E-Mail Removed)> wrote in message
news:55FF7A30-AC47-4BD0-9C63-(E-Mail Removed)...
> amazingly (and annoyingly) this bug still occurs in Access 2007! c'mon
> Microsoft, fix this irritiating problem. Meanwhile, I have tried John's
> suggestion; but for me it doesn't work. Has anyone got any other
> suggestions?
>
>
>
> "John Spencer" wrote:
>
>> No guarantee, but after setting the conditional formatting up, try the
>> following
>> -- Select the control you have just set up with conditional formatting
>> -- Select Back Style and set that to transparent.
>>
>> I tested it with Access 2000 and that seemed to resolve the problem for
>> me.
>> --
>> John Spencer
>> Access MVP 2002-2005, 2007
>> Center for Health Program Development and Management
>> University of Maryland Baltimore County
>> ..
>>
>> "HAH" <(E-Mail Removed)> wrote in message
>> news:ACDF62E9-2C9E-4981-A3CC-(E-Mail Removed)...
>> >I have a report that shades the background of alternate rows of data. I
>> > tried to set a conditional format to change the text color when one of
>> > the
>> > fields is <2. The alternate row background shading vanished for that
>> > field,
>> > regardless of what the conditional format causes the text color to do.
>> > Is
>> > there any way to fix this?

>>
>>
>>



 
Reply With Quote
 
Keith
Guest
Posts: n/a
 
      25th Mar 2008
What event would you put the code in?

I am using a form with a datasheet view with detail in the header.

When I put conditional format code in the OnPaint event, it
continually repaints the screen and never stops.
Keith

On Mar 23, 10:18 pm, "Stephen Lebans" <ForEmailGotoMy.WebSite.-
WWWdotlebansdot...@linvalid.com> wrote:
> Why even bother with CF for a report. It's simple to write a few lines of
> code in the Detail section Format event to accomplish your goals.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting background color for more than three zmenloans Microsoft Access 3 9th Jun 2009 02:16 PM
Conditional formatting: same color, alternate background on same r Tim Toennies Microsoft Excel Worksheet Functions 1 27th Jun 2008 02:05 PM
Conditional Formatting using an image for the background =?Utf-8?B?QmFtYURhbGU=?= Microsoft Excel Misc 0 11th Oct 2007 05:56 PM
Change background color using conditional formatting =?Utf-8?B?cGZh?= Microsoft Excel Worksheet Functions 4 21st Aug 2007 02:56 PM
Background Color in Datasheet (without conditional formatting) Evan Camilleri Microsoft Access 1 15th Jun 2005 07:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:54 PM.