Link Master Field

  • Thread starter Thread starter JKlein
  • Start date Start date
J

JKlein

Is there a way to change the Link Master Field of a subform by code?
I have tried to create a function and place it in the Link Master Field
property of the subform and then change the function value in code but this
does not work.
 
JKlein said:
Is there a way to change the Link Master Field of a subform by code?
I have tried to create a function and place it in the Link Master
Field property of the subform and then change the function value in
code but this does not work.

You can just assign a value directly to the LinkMasterFields propery of
the subform control, if that's what you mean. For example,

Forms!MainForm!Subform1.LinkMasterFields = "Field2"
 

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

Back
Top