I have used the Controls Wizard to create both listboxes and combo boxes that can be used to select a record on the form and to jump to that record.
Now, I have some subforms which return a limited number of records. What I'd like to do on the subform is to list a particular field's values in a listbox that is limited to the matching values on the subform records and to allow users to click on the list to jump to that matching record.
Currently, I am getting very mixed results on my efforts.
For example, my subform contains the following fields from a table:
- ID - Unique identifier for a project
- Indx - alphabetical (A, B, C, etc.) based identifier - unique for each ID
- Name - company name
- Location - company location
- Role - company role on project ID
On any matching ID records, there are one or more Names within that set of matching records.
So my listbox should only list the Name where the ID is the same as the ID on my main form current record. The subform already is linked via the ID, but the listbox is not filtering the results in the same way that the subform does.