Kaja
Kaja

Reputation: 3057

how do I link a subform to a list in main form vba access

I have a subform that I want to link to a list on main form, and If I change the value in list, then the content of subform should be changed to, how can I do this job?

Upvotes: 0

Views: 1084

Answers (1)

Renaud Bompuis
Renaud Bompuis

Reputation: 16806

CLick on your subform frame and use the link properties:

Subform Data Properties

The Link Master Fields should be your listbox, and the Link Child Fields should be its corresponding foreign key field in the subform.

Upvotes: 1

Related Questions