Auto populate subfrom from main form

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

I have a main form that contains data that I need to be automatically populated into a subform. The formula I've tried is:



Private Sub JobNum_Enter()

Me.OrderRelNum = Form.OrderJobLink_Frm.SalesOrderNum.Column(2)

End Sub




Me.OrderRelNum is located on the subform

SalesOrderNum.Column(2) is in the main form

I need the SalesOrderNum to be put into the OrderRelNum so I don't have to manually type it.

Any help is greatly appreciated!

Thanks,
Tony
 
I need the SalesOrderNum to be put into the OrderRelNum so I don't have to manually type it.

Simply include OrderRelNum in the Master/Child Link Field. This can consist of
multiple fields separated by semicolons.

John W. Vinson [MVP]
 
Thanks John - that did it.

--
Tony

John W. Vinson said:
Simply include OrderRelNum in the Master/Child Link Field. This can
consist of
multiple fields separated by semicolons.

John W. Vinson [MVP]
 

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