I have a form 'frmHome'. It has a tab control 'tabCtrl'. The tab control has two forms: 'frmContacts' and 'frmProjects'.
On the contacts form I can see the projects a person is involved with. On the Projects form I can see the people associated with a project.
I want to dbl-click on a project from the contacts form, and have it take me to that project on the projects form. I want to similarly click a person on the projects form, and have it take me to that person on the contacts form.
So far, I can dbl-click on a project in the contacts form, and the code will change the tab control to the appropriate page with the projects form. Also, there is a public sub on the projects page which will set the current record to the value of a global variable. I tested that sub with a command button and it works great.
BUT - I can't figure out how to call that public sub from the other form. I can't figure out the proper syntax to reference it.
Help? Thanks.
On the contacts form I can see the projects a person is involved with. On the Projects form I can see the people associated with a project.
I want to dbl-click on a project from the contacts form, and have it take me to that project on the projects form. I want to similarly click a person on the projects form, and have it take me to that person on the contacts form.
So far, I can dbl-click on a project in the contacts form, and the code will change the tab control to the appropriate page with the projects form. Also, there is a public sub on the projects page which will set the current record to the value of a global variable. I tested that sub with a command button and it works great.
BUT - I can't figure out how to call that public sub from the other form. I can't figure out the proper syntax to reference it.
Help? Thanks.
Comment