referencing a control

F

Fay Yocum

I have the following setup
Main form frmEducation
frmLearner on the frmEducation form
then subfrmRegistration form on the frmLearner form
Finally subfrmRegistrationLearner is on the subfrmRegistration form

On the subfrmRegistration I have a list box, lstPicker, that displays class
name, date, time, and class number. I created the list box with the wizard
and said to use the ClassNumber later.

I want to store the ClassNumber in the txtClassNumber control on the
subfrmRegistrationLearner form. But I have never referenced a control that
deep. That should happen in the On Click event of the cmdRegistered button.

How do I reference the txtClassNumber? Thank you.

Fay
 

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

Top