expression - Conditional formatting with multiple parameters -


i'm in microsoft access 2013 , trying conditionally format cell in report. first 2 expressions work well:

[house party 2015]=yes (green) [declined]=yes (red) 

i'm trying add yellow category item has been received (house party 2015 = yes) not yet received [house party donations list].[received]=no)

when use "and" expression [house party 2015]=yes , [received]=no, nothing happens. i've tried reordering, creating new field called "not received" [house party donations list].[not received]=yes, nothing seems work.

any guess why not working?

is sort of output you're looking for?

enter image description here

here's conditional formatting applied (i think key move and statement top it's checked first, otherwise @ [donated]=yes rule, show green):

enter image description here

edit: per comments below, here's how locate record source property of report (in access 2013)..

go in design view report , go design tab, click on property sheet button:

enter image description here

the property sheet should open on right-hand side. if go "data" tab of property sheet, first property listed record source:

enter image description here

the record source property states report getting data from. data can either 1 of tables or saved queries, in case simple like:

[house party donations]

or, can data result of sql expression, example:

select table1.[house party 2015], table2.received table1 inner join table2 on table1.id = table2.id;

if want conditional formatting in report using fields different tables, it's best fields in record source first. can done either referring saved query or write/build sql expression directly in report's record source.

if update original question list fields 2 tables , make clear field common both fields (i.e. how tables can linked through primary/foreign keys) can create query/sql report's record source.

for example, mocked in report's record source query builder:

enter image description here

i able add fields different originating tables report:

enter image description here

and reference them in conditional formatting without ! (bang) notation:

enter image description here

which results in:

enter image description here


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -