Filter Parent Form Based on Child Form Criteria

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

Guest

I have a parent form with customer information. The primary key is the
CustomerID field.

There is a subform linked to the customer using the CustomerID field. The
subform contains phone numbers (a seperate record for each phone number).

How can I filter the parent form with criteria from the child form (phone
numbers). For example, I want to find each customer who is in the 413 area
code.

Any help would be GREATLY appreciated.
 
in the query that you are using as the source for your subform, build a
field that pulls the area code out of the phone number. then put this
in the criteria for that field:

[Forms]![myMainForm].[AreaCodeFieldFromMainForm]

-doodle
 

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