Avatar of SteveL13
SteveL13
Flag for United States of America asked on

Listbox won't display records related to key field

I have a listbox I'm adding to a form but it will not display only the records related to the key field on the form named "txtCustID".

In the query for the listbox I do have the criteria for CustID to be [Forms]![frmCallLog]![txtCustID].

What am I doing wrong?

If I leave the criteria out of the query I get all records not just the ones related to that customer.

If I leave the criteria in the query I get an enter parameter value window popup.
Microsoft Access

Avatar of undefined
Last Comment
mbizup

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
mbizup

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes