Create text box from combo selection

G

Guest

Hi,

Is it possible to make a selection from a combobox which then automatically
creates a text box and populates it with the combo selection?

Or any method to auto creat text boxes.

I need to make a text box dynamically whenever a user selects an item from a
combo.

Similar I guess to creating a "new record" in say acesss.

Any ideas?
 
S

Sue Mosher [MVP-Outlook]

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.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

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.
 
S

Sue Mosher [MVP-Outlook]

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

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top