Opening a form and running a sub - can it also be dialog?
Posted on 2006-11-16
I would like to open a form as a dialog form. However I also need to call a sub on the opened form (I call the same form in a lot of places so the sub I am running is important, and I load child forms onto the loaded form) i.e.
dim f as form1
obviously f.getresults(id, date) wouldn't be called, but I do want the characteristics of the dialog in that I don't want the user to be able to move away from the form until it is closed.
Can I have the best of both worlds somehow?