Access popup form label to show value from calling form

I have two forms -- a main form for a lawsuit, with a command button that opens a popup form to enter detail about defendants in the case. Have a label on the popup that I want to populate with the value of a control on the calling form (txtCaseName). I'm trying code on the popup form's Open event like "lblRelatedCase.Caption = frmcasesmain.txtcasename.Text". As you can tell, it's not recognizing my reference to the form or the control on the form. Hoping to give the user a visual reference back to the case they're entering data for.

Who is Participating?
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.

The reference should be


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
iamdaedalAuthor Commented:
Well done! Appreciate the quick response. You going to be up later? I will be working into the night and may be back for more... :)  Thanks a ton!
Good morning!  - Missed your reply :-)

I think I called it a night shortly after posting here.

Glad to have helped.
By the way, welcome aboard!  Just noticed that you are new here :-)
Jeffrey CoachmanMIS LiasonCommented:
You can also "build" the expression using the Expression Builder.
If you select the property that you need the expression in and press ctrl+F2
You will be presented with a graphical/Hierarchical interface that will allow you to easily navigate to any object in your database, and the expression is built for you...
Expression Buider
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.