Refresh Sub Form and Printing Issue - Access 2013

How to refresh a sub form when you select a new record in the main form and printing issue.

Pl refer to attached file. I have a form "FormDCEntry" which has a sub form. I am finding difficulty in refreshing the contents of the subform when I move to the next record. What I want is when I move to the next record in the main form the contents of the sub form should also get refreshed and blank. I tried to OnCurrent property and Re query but its not working

And second please refer to Report1. When I print /preview the report the field Protocol No prints ID number instead of the actual Protocol Name . I know this has something to do with the column selection but am not able to figure out.
Need help to set this 2 things right.

Thank you for the help
Delivery-ChallanEE.accdb
Advait KawthalkarSr. Manager ITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You haven't set the Link Master Field and the Link Child Field.  Doing this will allow Access to manage the subform records based on the parent record selected.

In regard to your report, you need to create a query for your report and join the tblProtocolMaster with tblDCEntry. Output the value from tblProtocolMaster that you want to see in the report and use that.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.