LinkChildFields

D

Dwight

Is there a way to programmatically change the
LinkChildFields?

My main form consists of 2 list boxes, an option group
with 2 radio buttons, and a subform. Depending on which
radio button is selected, the appropriate list box becomes
visible. I want to be able to change the link properties
based on the list box that is visible. Each list box has
a different row source.

Thanks in advance!!

Dwight
 
J

Jeff

-----Original Message-----
Is there a way to programmatically change the
LinkChildFields?

My main form consists of 2 list boxes, an option group
with 2 radio buttons, and a subform. Depending on which
radio button is selected, the appropriate list box becomes
visible. I want to be able to change the link properties
based on the list box that is visible. Each list box has
a different row source.

Thanks in advance!!

Dwight
.

Try this:

Me.[subform].LinkChildFields = "[field]"
Me.[subform].LinkMasterFields = "[field]"
 

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