Hi All,
I am using the followong code to create a form on the fly based on another form...
Set frm = CreateForm(, "frmTemplate")
This works fine for what I want except frmTemplate has some code within it which runs On Load however this code does not copy over into the new form. I have tried putting the code into a Module but does not suit the way I have set this up. Is there a way of getting this code to copy into the new form.
Thanks
IC
I am using the followong code to create a form on the fly based on another form...
Set frm = CreateForm(, "frmTemplate")
This works fine for what I want except frmTemplate has some code within it which runs On Load however this code does not copy over into the new form. I have tried putting the code into a Module but does not suit the way I have set this up. Is there a way of getting this code to copy into the new form.
Thanks
IC