Solved

Listbox won't display records related to key field

Posted on 2014-01-14
1
520 Views
Last Modified: 2014-01-14
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.
0
Comment
Question by:SteveL13
1 Comment
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39779780
The parameter popup means that the textbox in your criteria is unrecognized.

double check the textbox (or field name) and the form name.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

856 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