A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Formatting And Running Sums



 
 
Thread Tools Display Modes
  #1  
Old May 24th, 2004, 04:51 AM
Michael
external usenet poster
 
Posts: n/a
Default Conditional Formatting And Running Sums

I have a report in which I am using a running sum to display the total over grouped sets of values. The running sum is in the details section and the sum is displayed in the group footer.
This sum works correctly. I added a text box that has a conditional formatting applied to it in the detail section. The formatting changes the fill/background color of the text box when the condition is met. The running sum started to display only the first value of the group(in the group footer), rather than the sum. If I remove the conditional formatting the sum is correct. I am using Access 2003. Any advice would be appreciated.
  #2  
Old May 24th, 2004, 05:15 AM
Larry Linson
external usenet poster
 
Posts: n/a
Default Conditional Formatting And Running Sums

How about using code in the Print event, instead of Conditional
Formatting -- that'll work fine in reports. (Conditional Formatting is a
necessity only in Continuous Forms view on Forms.)

Larry Linson
Microsoft Access MVP

"Michael" wrote in message
...
I have a report in which I am using a running sum to display the total

over grouped sets of values. The running sum is in the details section and
the sum is displayed in the group footer.
This sum works correctly. I added a text box that has a conditional

formatting applied to it in the detail section. The formatting changes the
fill/background color of the text box when the condition is met. The
running sum started to display only the first value of the group(in the
group footer), rather than the sum. If I remove the conditional formatting
the sum is correct. I am using Access 2003. Any advice would be
appreciated.


  #3  
Old May 24th, 2004, 07:16 AM
Michael
external usenet poster
 
Posts: n/a
Default Conditional Formatting And Running Sums

Thanks Larry. I was fixated on making it work and lost sight of the forest for the trees. I made it an IIF statement in the Format event and it works perfectly.

"No problem can be solved from the same consciousness that created it." - Einstein

----- Larry Linson wrote: -----

How about using code in the Print event, instead of Conditional
Formatting -- that'll work fine in reports. (Conditional Formatting is a
necessity only in Continuous Forms view on Forms.)

Larry Linson
Microsoft Access MVP

"Michael" wrote in message
...
I have a report in which I am using a running sum to display the total

over grouped sets of values. The running sum is in the details section and
the sum is displayed in the group footer.
This sum works correctly. I added a text box that has a conditional

formatting applied to it in the detail section. The formatting changes the
fill/background color of the text box when the condition is met. The
running sum started to display only the first value of the group(in the
group footer), rather than the sum. If I remove the conditional formatting
the sum is correct. I am using Access 2003. Any advice would be
appreciated.



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.