Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / January 2007

Tip: Looking for answers? Try searching our database.

Create text box from combo selection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Xform - 31 Jan 2007 16:16 GMT
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?
Sue Mosher [MVP-Outlook] - 31 Jan 2007 16:20 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.