Subform controlled by a form's listbox

G

Guest

I have a form (Persons) that has a listbox (persons_groups); the list box
lists records in a table. The form has a subform (groups_persons); I want the
subform to show only the record selected in the parent form's listbox.

How can I control what records are shown in a subform using the selection
from thej parent form's listbox?
 
A

Allen Browne

Open the form in design view.

Right-click the edge of the subform control, and choose Properties.

On the Data tab of the Properties box, enter the name of the list box beside
Link Master Fields, and the name of the matching field in the subform beside
Link Child Fields.
 

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

Top