Hello,
I would like to know how to get the name of the form that calls another form.
I have a form called employer.
Two other forms: Customer and Start. On both Customer and Start form there is a button 'Employer'. Both buttons open the same employer form, but I want it to act differently depending on the form on witch te button is pressed.
So I can do something like this:
if caller ="start form" then btnsave.caption = "save"
if caller = "cusotmer form" then btnsave.caption = "add"
Cann someone help me, I do not have the right vba knowledge. (Sorry for my bad English, I'm Dutch).
I would like to know how to get the name of the form that calls another form.
I have a form called employer.
Two other forms: Customer and Start. On both Customer and Start form there is a button 'Employer'. Both buttons open the same employer form, but I want it to act differently depending on the form on witch te button is pressed.
So I can do something like this:
if caller ="start form" then btnsave.caption = "save"
if caller = "cusotmer form" then btnsave.caption = "add"
Cann someone help me, I do not have the right vba knowledge. (Sorry for my bad English, I'm Dutch).