G
Guest
Hi,
I would like to know if this is possible and if so how do you code it. (VBasic is rusty).
For background this program is for my insurance office. I have a form titled "Policy Master" and on that form is a field titled "LineOfBusiness". This field is a combo box linked to a table of possible values. The Policy Master has general information that is common to all types of insurance policies. What I would like is to creat a series of subforms that have the technical details of each different type of policy (such as health insurance vs. car insurance). I would like the current subform to pop up based on the selection in LineofBusiness. I am currently using a series (24) command buttons to get the technical details in. Would it be possible to use something like a if.then.else statement to bring up the correct subform automatically. And if it is what would be the syntax?
Thanks
Scott
I would like to know if this is possible and if so how do you code it. (VBasic is rusty).
For background this program is for my insurance office. I have a form titled "Policy Master" and on that form is a field titled "LineOfBusiness". This field is a combo box linked to a table of possible values. The Policy Master has general information that is common to all types of insurance policies. What I would like is to creat a series of subforms that have the technical details of each different type of policy (such as health insurance vs. car insurance). I would like the current subform to pop up based on the selection in LineofBusiness. I am currently using a series (24) command buttons to get the technical details in. Would it be possible to use something like a if.then.else statement to bring up the correct subform automatically. And if it is what would be the syntax?
Thanks
Scott