Where is the best place to store values for combobox entries

  • Thread starter Thread starter escamoteur
  • Start date Start date
Status
Not open for further replies.
E

escamoteur

Hi,

I want to add to my custom inspector form a combobox that contains values that the user can define. E.g. Project status.

If Outlook were a relational database I would store this values just in it's own table and populate the combobox from there.

How is the best way to achieve this in Outlook??

Best

Tom
 
Databases, spreadsheets, text files, even Outlook items all can be used to

store such values. You'd use code behind the form to load them when the form

displays and to update the storage source with any new values the user might

have defined. The best approach for specific sceneario depends in part on

the intended scope of the row values. Are they specific to a single item? A

single user? All users?

Sue Mosher

"escamoteur" <mail@burkharts.net> wrote in message

news:6C13F02E-ED52-4C31-89BA-CCF8549BFC0C@microsoft.com...
> Hi,

> I want to add to my custom inspector form a combobox that contains values
> that the user can define. E.g. Project status.

> If Outlook were a relational database I would store this values just in
> it's own table and populate the combobox from there.

> How is the best way to achieve this in Outlook??

> Best

> Tom
 
Is this a fixed list or a list that can change?

What version of Outlook?

"escamoteur" <mail@burkharts.net> wrote in message

news:6C13F02E-ED52-4C31-89BA-CCF8549BFC0C@microsoft.com...
> Hi,

> I want to add to my custom inspector form a combobox that contains values
> that the user can define. E.g. Project status.

> If Outlook were a relational database I would store this values just in
> it's own table and populate the combobox from there.

> How is the best way to achieve this in Outlook??

> Best

> Tom
>
 
Sorry for not beeing more specific.

It's Outlook 2007 and it will be a single user plugin that should be configurable by the user. I want to have everything stored in

the .pst file if possible.

Think of the list like the Categories of outlook items, only that this categories only belong to my item type. The user should be

able to add and delete categories that he needs.

Best

Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:%23fNrQ3TFKHA.5780@TK2MSFTNGP03.phx.gbl...
> Is this a fixed list or a list that can change?

> What version of Outlook?

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message news:6C13F02E-ED52-4C31-89BA-CCF8549BFC0C@microsoft.com...
> > Hi,
>

>> I want to add to my custom inspector form a combobox that contains values that the user can define. E.g. Project status.
>

>> If Outlook were a relational database I would store this values just in it's own table and populate the combobox from there.
>

>> How is the best way to achieve this in Outlook??
>

>> Best
>

>> Tom
> >

>
 
OK, if this is only for Outlook 2007 or later then I'd recommend using a

StorageItem for that. A StorageItem is what's know in MAPI circles as a

hidden item, in the Associated Contents table for a folder. You can use a

StorageItem in any folder and it's invisible to the user. It can only be

accessed using code, so users can't mess around with your hidden storage.

Using that you can store the list in the body of the hidden item as a

newline separated list and then just split the body on newlines (carriage

return + line feed) when you want to recover or modify the list.

That way the list will travel with the PST file and should do what you want.

"escamoteur" <mail@burkharts.net> wrote in message

news:%23Vrcf0aFKHA.3696@TK2MSFTNGP02.phx.gbl...
> Sorry for not beeing more specific.

> It's Outlook 2007 and it will be a single user plugin that should be
> configurable by the user. I want to have everything stored in the .pst
> file if possible.

> Think of the list like the Categories of outlook items, only that this
> categories only belong to my item type. The user should be able to add and
> delete categories that he needs.

> Best

> Tom
 
Thanks a lot, that was what I was looking for.

Best

Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:O0uxCTdFKHA.4732@TK2MSFTNGP04.phx.gbl...
> OK, if this is only for Outlook 2007 or later then I'd recommend using a
> StorageItem for that. A StorageItem is what's know in MAPI circles as a
> hidden item, in the Associated Contents table for a folder. You can use a
> StorageItem in any folder and it's invisible to the user. It can only be
> accessed using code, so users can't mess around with your hidden storage.

> Using that you can store the list in the body of the hidden item as a
> newline separated list and then just split the body on newlines (carriage
> return + line feed) when you want to recover or modify the list.

> That way the list will travel with the PST file and should do what you want.

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message
> news:%23Vrcf0aFKHA.3696@TK2MSFTNGP02.phx.gbl...
> > Sorry for not beeing more specific.
>

>> It's Outlook 2007 and it will be a single user plugin that should be
> > configurable by the user. I want to have everything stored in the .pst
> > file if possible.
>

>> Think of the list like the Categories of outlook items, only that this
> > categories only belong to my item type. The user should be able to add and
> > delete categories that he needs.
>

>> Best
>

>> Tom

>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
E Where is the best place to store values for combobox entries Outlook VBA and Custom Forms 5
H Macro to Delete Duplicate items in Outlook calendar where title is the same and date is the same Outlook VBA and Custom Forms 0
G Outlook Contact Item.Restrict where FullName is NULL Outlook VBA and Custom Forms 3
J Outlook 365 Add keywords from Listbox to the message body where cursor is placed Outlook VBA and Custom Forms 0
e_a_g_l_e_p_i Changing where data .pst is saved to Using Outlook 3
D Anyone tell me where custom view settings are stored? Outlook VBA and Custom Forms 9
P Sending email from outlook IMAP to GMAIL where embedded images are added as attachment Using Outlook 1
J Outlook 2016 After a search in all mailboxes, where is each message that was found? Using Outlook 6
M Where is the setting to *turn off* open calendar in a new window? Using Outlook 3
J OUTLOOK 2016 FILE STORAGE WHERE COMMAND Using Outlook 12
C Long List Of Outlook 2016/Outlook.com Bugs // Where To Report? Using Outlook 10
S Views ans Where Settings AreSavd Using Outlook 4
F Move mails from Deleted Items folder back to its original folder where the mails got deleted Using Outlook 0
Horsepower Where did Evenote come from? Using Outlook 6
tswatek Issue with where Outlook saves new contacts Using Outlook 3
snissen Where is "Edit Message" in Outlook 2016? Using Outlook 2
C Where are BCM User Customizations located? BCM (Business Contact Manager) 9
Mark Foley Where are Outlook categories save for IMAP? Using Outlook 12
T Where did my categorized emails go? Using Outlook 1
H Where to post code in Outlook Outlook VBA and Custom Forms 1
R click to toggle quick click category reasigns to where ? Using Outlook 2
P Where are the cached emails stored? Using Outlook.com accounts in Outlook 2
D VBA Script (Ask to where to save send mail) Outlook VBA and Custom Forms 1
R Outlook 2013 People Pane - Where is the "Add" button for social networks? Using Outlook 4
J Lost contacts.pst afer sync with iCloud: where has contact.pst disapperaed to? Using Outlook 3
O Outlook 2013 contacts - Where to find "Display as"-field Using Outlook 2
J Linking Contacts to a Message Where the Contact isn't an Addressee Using Outlook 1
L How do i choose where i file my sent messages? Using Outlook 1
C Outlook 2007 Contact Card opens in margin of screen where I can't see it Using Outlook 3
P Where the heck is the data? Using Outlook 10
G Modify Subject line of incoming mail where I am in Cc line Using Outlook 1
B Can't locate in Outlook custom form where is message from Using Outlook 4
B help: where are outlook2000 email accounts stored Using Outlook 14
Rupert Dragwater Where to find folders in Outlook 2010 Using Outlook 4
S Where is the BCM SDK?? BCM (Business Contact Manager) 1
B Where are my emails that I already? Using Outlook 1
G Where are Saved Reports physically stored? BCM (Business Contact Manager) 0
O Where is Launcher, the custom action for Exchange server? Exchange Server Administration 1
J Where is Final Release BCM 2010, Microsoft? Why is Dev Team silent BCM (Business Contact Manager) 2
B Where is RTM version of BCM 2010? BCM (Business Contact Manager) 2
N Where have all the helpful people gone in this forum? BCM (Business Contact Manager) 3
S Custom Fields - Deleting And Where Are They Saved Outlook VBA and Custom Forms 8
M WHERE without using CASE Outlook VBA and Custom Forms 3
S Where to publish my custom form ? Outlook VBA and Custom Forms 4
P Where are User-defined fields stored in BCM 2010 database? BCM (Business Contact Manager) 2
E Where is Business Contact Manager?? BCM (Business Contact Manager) 2
T Where is "administrative groups" Exchange Server Administration 9
D Where does Outlook store signatures? Outlook VBA and Custom Forms 9
K Get folder path where an account stores messages Outlook VBA and Custom Forms 5
A COM add-in causes Outlook 2007 to periodically crash where it did not in Outlook 2003 Outlook VBA and Custom Forms 3

Similar threads

Back
Top