Adding controls to a form will one-off the item so that it never runs form code again.
Maybe you should start at the begining and explain why you think that functionality is needed in your application.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi,
>
[quoted text clipped - 9 lines]
>
> Any ideas?
Xform - 31 Jan 2007 17:35 GMT
Hi Sue,
The form will be used to record information on different locations.
In our case things going on in certain rooms within our organisation.
There would be 30 rooms to record info for.
Currently I could have a form with a text box for each room.
This would result in a long form.
As not every room would have someting happening I was hoping to list all the
potential rooms in a combobox or drop down list so that text boxes would only
then appear for rooms that had been selected. Hence the dynamically created
boxes.
Alternatively I could use tabbed pages i guess but then users would have to
click through every tab in order to see if it has any entries.
I hope that makes things clearer.
> Adding controls to a form will one-off the item so that it never runs form code again.
>
[quoted text clipped - 13 lines]
> >
> > Any ideas?
Sue Mosher [MVP-Outlook] - 31 Jan 2007 18:03 GMT
You could use one text box and populate it with the information from the selection in the combo box. See http://www.outlookcode.com/d/propsyntax.htm

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi Sue,
>
[quoted text clipped - 18 lines]
>>
>> Maybe you should start at the begining and explain why you think that functionality is needed in your application.
>> > Hi,
>> >
[quoted text clipped - 9 lines]
>> >
>> > Any ideas?