Conditional format in report does not display

CMatisse

New member
Local time
Today, 14:13
Joined
Oct 12, 2007
Messages
7
My grouped report simply needs one of the group total fields to have a specific font and backcolor depending on its value (less than 4 = yellow w/black font, 4 - 5 = green w/black font, greater than 5 = blue w/white font). It is working, but it doesn't display and print. You only see the color when you click on a specific field in Report view. I want it to print with the colors.
 
CMatisse, could you answer these questions:

1. What is the name of the field?
2. What is the name of the textbox bound to the field?
3. What version of Access are you using?
 
Version is Access 2007. The (detail) field is ytd_act, and the NAME of the field I want to format is AccessTotalsytd_act. The Control source is =Avg([ytd_act]).
 
Did you use AccessTotalsytd_act in the Conditional Formatting?

Can you show me how you wrote your CF.
 
Yes, that is the field with the CF. 3 attachments. First is CF screen. Next shows report results indicating the YTD Actual field where I have the CF on the group totals (pointer). Last is the REPORT VIEW of the report showing where I clicked on a total field and the color appears.
 

Attachments

  • CondFormat.jpg
    CondFormat.jpg
    45.7 KB · Views: 535
  • CondFormat-rpt.jpg
    CondFormat-rpt.jpg
    90.1 KB · Views: 405
  • CondFormat-rptview.jpg
    CondFormat-rptview.jpg
    86.5 KB · Views: 421
Can you tell me what the data type of that field is?
 
Number, double, auto decimal places

Thank you for your help!
 
Can you upload a stripped down version of your db. I will take a quick look and advise.

NB: confidential data not needed. Just test data.
 
My grouped report simply needs one of the group total fields to have a specific font and backcolor depending on its value (less than 4 = yellow w/black font, 4 - 5 = green w/black font, greater than 5 = blue w/white font). It is working, but it doesn't display and print. You only see the color when you click on a specific field in Report view. I want it to print with the colors.

Does it work correctly in Preview mode and in Print mode?

Report view does not run code and other features so that might be the problem.
 
No, it doesn't show the colors in any view - only Report View when you click on the field. Attached is a pared-down db.
 

Attachments

Conditional Formatting is an exception in Report View. It runs fine in that view.
 
See attached and open the report.

Your controls were corrupt and were'nt responding to CF.

Re-create all the controls in that section and CF should work.
 

Attachments

I see that I have the Back style as Transparent instead of Normal - as in your db. That fixed it! Thank you so much going through all of these steps for me! Much appreciated :D
 

Users who are viewing this thread

Back
Top Bottom