Conditional Formatting using a query on a Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I use a field on a Parent form (frmContract!doc_type from the Contract
table) to determine the conditional formatting in a subform (QryTotal by
doc_type) based on a query (this query contains the summarized amount by the
same doc_type)? I'm trying to highlight the record where the doc_type field
is equal to the record that has the same doc_type.

I tried using Condition1-Expression Is Me!frmContract!doc_type = Me!qryTotal
by doc_type, but it is giving me an error msg: "The expression you entered
contains invalid syntax." Thank you!!!

geri
 
I got 1 field to work using the Condition1-Field Value is Equal to:
Forms!frmContract!doc_type; however, how would I get the associated amount
field that corresponds to its doc_type to also be highlighted? The query is
pulling 3 fields, one of which is the doc_type and amount fields.

Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top