Where is the best place to store values for combobox entries

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
 
S

Sue Mosher [MVP]

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
 
K

Ken Slovak - [MVP - Outlook]

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

escamoteur

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

>
 
K

Ken Slovak - [MVP - Outlook]

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
 
E

escamoteur

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
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
N Wishlist Opening Outlook where we left off Outlook Wishlist 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
P where can i store hyper links so that they aren't detected as a threat to the computer Using Outlook 2
M Add Columns to Outlook 2010 Window Where You Pick Contacts Using Outlook 1
B Where is my Outlook Calendar Using Outlook 1
C Where's my Outlook 2010 mail? Using Outlook 7
A Where are outlook email rules Really stored? Using Outlook 6
A button in Outlook 2007 that connected you to the web, where is it? Using Outlook 2
M Where are the Calendar Diagnostic Logs supposed to be? Exchange Server Administration 6
G Share calendar between two Outlook 2010 OR 2007 without exchange where both users can make appointme Using Outlook 1
B Where are my Contacts and Calendar Using Outlook 5
S The public folder store where the offline address book is hosted was not detected. The hosting serve Exchange Server Administration 11
P Home and Business, Business Contact Manager using passkey. Where can I find this program? Using Outlook 1
M Where are contacts stored for BCM 2010? Using Outlook 1
D Where can I see incomming POP3 connections? Exchange Server Administration 4
L Overnight my outlook disappeared from desktop, replaced by outlook express icon. Where is it, how do I get it back? Been using Outlook 2007 for mont Using Outlook 1
M Duplicate Office somewhere - but where ? Using Outlook 2
R where did the 'send picture from the Internet' go in Outlook 2007? Using Outlook 1
D Where Did Managed Default Folders Go In SP1...? Exchange Server Administration 1

Similar threads

Top