Show details in subform from other table as pop-up/other crossponding to specific ID - MS Access - Forms

Hi,

I have a form for a table say "test" and in that there is a subform. The subform have 9 different fields/columns. One of the column/field (which is called Source_ID) is linked with ID from other table "Source".I want that when click on the subform in this field "Source_ID" it should display/pop up the details for that Source_ID from Source table for that specific Source_ID. Can anyone help me in that?

Thank you.
LVL 1
WSStudentAsked:
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.

John TsioumprisSoftware & Systems EngineerCommented:
DoCmd.OpenForm "TheForm", , , "ID=" & me.SourceId,,acdialog
0

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
Dale FyeOwner, Developing Solutions LLCCommented:
I would avoid this for the Click event and either use the double click event.

Or create a shortcut menu you can use in that control that will allow you to call the popup for.  See my series of articles on short-cut menus, starting here.
0
WSStudentAuthor Commented:
@John , Thanks you that work.
...
@Dale, Thank you , i applied the other one but for next forms will try your method, also your articles are helpful. (Y)
0
Dale FyeOwner, Developing Solutions LLCCommented:
glad to help
1
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
Databases

From novice to tech pro — start learning today.