A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Long list dropdown box



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 6th 06, 04:17 PM posted to microsoft.public.outlook.program_forms
Josh Oeltjen
external usenet poster
 
Posts: 4
Default Long list dropdown box

I have a list of around 200 entries that i would like to include in as a
dropdown list in an Outlook form. Is there anyway to create a list this long?

thanks
Ads
  #2  
Old March 6th 06, 04:49 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Long list dropdown box

The easiest way is to fill an array and then set the control's List property to that array. See http://www.outlookcode.com/d/formcontrols.htm#listcombo

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


"Josh Oeltjen" wrote in message ...
I have a list of around 200 entries that i would like to include in as a
dropdown list in an Outlook form. Is there anyway to create a list this long?

thanks

  #3  
Old March 6th 06, 05:29 PM posted to microsoft.public.outlook.program_forms
Josh Oeltjen
external usenet poster
 
Posts: 4
Default Long list dropdown box

Sue-
I'm not real familiar with programming. I understand that this code takes
an array and creates a lists out of it but where do i insert this code? and
where do i store my list?

thanks

"Sue Mosher [MVP-Outlook]" wrote:

The easiest way is to fill an array and then set the control's List property to that array. See http://www.outlookcode.com/d/formcontrols.htm#listcombo

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


"Josh Oeltjen" wrote in message ...
I have a list of around 200 entries that i would like to include in as a
dropdown list in an Outlook form. Is there anyway to create a list this long?

thanks


  #4  
Old March 6th 06, 06:11 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Long list dropdown box

You can store your list wherever is appropriate for your application scenario (which you know a lot more about than we do). These are all possibilities:

1) In a property in the Outlook item
2) In the both of a separate Outlook item or a CDO hidden message
3) In a text file
4) In a database

How you access the data in the list depends, of course, on where you store it.

Any code to initialize controls goes in the Item_Open event handler for the form. Did you look at the code behind the sample form on the page I suggested?

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


"Josh Oeltjen" wrote in message ...
Sue-
I'm not real familiar with programming. I understand that this code takes
an array and creates a lists out of it but where do i insert this code? and
where do i store my list?

thanks

"Sue Mosher [MVP-Outlook]" wrote:

The easiest way is to fill an array and then set the control's List property to that array. See http://www.outlookcode.com/d/formcontrols.htm#listcombo

"Josh Oeltjen" wrote in message ...
I have a list of around 200 entries that i would like to include in as a
dropdown list in an Outlook form. Is there anyway to create a list this long?

thanks


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Dropdown List, Required Fields, Export Contacts to new Fo CC Outlook - Using Contacts 1 February 28th 06 09:28 PM
how can i modify the entries in a dropdown list Tom Outlook - Using Forms 1 February 1st 06 12:49 AM
Dropdown controls - List vs Combo Don Smith Outlook - Using Forms 2 January 20th 06 07:46 PM
How to add to the default title list in the full name input box? Snowman Outlook - Using Contacts 1 January 20th 06 06:40 PM
How to display PO Box field in Business Address Box from contact Sue Mosher [MVP-Outlook] Outlook - Using Contacts 0 January 18th 06 06:01 PM


All times are GMT +1. The time now is 09:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.