Hilmar,
I did a search and did not find the particular issue addressed.
I'm working on command button class to popup a form with an oleCalendar on it, grab the selected value, and apply it to a field, textbox value, or form property. I would like the form and oleCalendar to be a single class, and the cmdButton.click() to be able instantiate it, run it, and do something with the date selected.
Larry
>I see you have the white envelope - if you search previous threads for terms like "returning a value from a form", perhaps you will find some ideas that are applicable to forms created in code. This topic has been discussed frequently.
>
>BTW, why do you have the need to specifically create the form in code?
>
>Hilmar.
Larry Tucker