I want to open a form in code, but I don't know which form class to use until runtime. Lets say I have 3 different form classes
frmMISC1
frmMISC2
frmMISC3
I want to pass a variable and open the required form based on this:
ie- dim form as new frmMISC & "1"
form.show
The problem is that I don't know how many form classes there will be and so it needs to be dynamic.
Thanks for any help, I hope this is all clear.
frmMISC1
frmMISC2
frmMISC3
I want to pass a variable and open the required form based on this:
ie- dim form as new frmMISC & "1"
form.show
The problem is that I don't know how many form classes there will be and so it needs to be dynamic.
Thanks for any help, I hope this is all clear.