Solved

Reports - Set Conditional format on subreport

Posted on 2014-02-11
6
737 Views
Last Modified: 2014-02-12
I have a report with Main/Subreports - the main Report displays the current Invoice#,

I want to highlight the same number row data on the subform.

see attached.
ScreenShotC Formating
I tried setting the conditional formatting on the fields of the continuous form.

but it does not make any difference - What am I doing wrong.
0
Comment
Question by:Karen Schaefer
  • 3
  • 3
6 Comments
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 39851802
1.) Open your sub report in design view.
2.) Then enter your Conditional Formatting Rule displayed above for each field ...  

Creation Date
Vendor
Invoice Date
Invoice #


ET
0
 

Author Comment

by:Karen Schaefer
ID: 39851855
Did that - not displaying correctly.

K
0
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 39852337
Post a sample of your db.  It worked in the application here that I tested with.  Should be something pretty simple ... could spend hours guessing at it.

In my sample db I formatted the font color to red in the detail rows of the sub-report based on the employee id 1111111 on the main report and it worked.

 
TestReport


ET
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:Karen Schaefer
ID: 39854426
Ok if I change the font color it seems to work, but I want to change the background color to a light grey, so when printed in black and white it is still highlighted.

any ideas why it does not display the back ground color.
0
 
LVL 19

Accepted Solution

by:
Eric Sherman earned 500 total points
ID: 39854507
It could be one of several issues ... kind of hard to guess with all the property settings in Access.  Can you just load up a sample db with your report in it.  

In my sample changing the background color also works ... see below.  I changed the Font as well as the back color of the controls in the detail section of the report.

Test Report 2

ET
0
 

Author Closing Comment

by:Karen Schaefer
ID: 39854980
thanks for your input, time prevents me from researching this issue further - I have to deliver what I have.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question