How to solve this anomaly with Customized Views?

J

John E.

When you customize a view to group the items in a folder by category, OL2003
lists any items in the folder that have multiple categories assigned in the
listings for each category assigned. We need to do something similar for a
custom view of a folder based application solution we are using. However,
rather than grouping by categories we need the view to group the listing
according to the different values of an unbound custom field we have defined
in a text box that stores the list box check-box settings of an associated
list box when the Write and/or Close events occur. We use storage of the
listbox selections to this textbox at the time of Write and/or Close events
to provide persistence for the check box settings of a list box for a custom
form item, so that when an item is later re-opened, the check box selections
will be the same as when the item was created or last saved.
We attempted to create a custom view that groups according to the values
stored in the custom field of the txtbox in hopes the custom view would
behave the same way that the Categories do when grouping by Category. What
is happening in our custom view is that the resulting groupings in the custom
view are not for each textbox value as stored in the item's custom field
(analogous to grouping by each category assigned to an item), but rather a
grouping of items that have the same combination of multiple custom fields.
In other words, if an item has multiple check box selections, we see
groupings for each combination of multiple check box selections rather than
groupings by each separate check box selection. We need to see the listing
by each separate check box selection as represented by the different values
being stored in the associated text box.
I know this explanation is difficult to understand, so here is an attempt to
show what we are getting versus what we want for a case that has two items,
each with multiple check box selection that result in multiple txtbox values.
If anyone can give us suggestions on how to create this kind of desired
Custom View behaviour, please advise.

Current Listing for example items having txtbox values as shown:
+ LicenseList: ABC,DEF,GHI (1st grouping shows these txtbox values)
Item 1 (txtbox values=ABC,DEF,GHI not shown in list)
+ LicenseList: ABC,DEF (2nd grouping shows these txtbox values)
Item 2 (txtbox values=ABC, DEF not shown in list)
+ LicenseList: DEF (3rd grouping shows these txtbox value)
Item 3 (txtbox values=DEF not shown in list)
+ LicenseList: GHI (4th grouping shows these txtbox values)
Item 4 (txt box values=GHI not shown)

Desired Listing for same example items having same txtbox values as above:
+ LicenseList: ABC
Item 1
Item 2
+ LicenseList: DEF
Item 1
Item 2
Item 3
+LicenseList: GHI
Item 1
Item 4

i AM DESPERATE FOR A SOLUTION TO THIS PROBLEM!

John E.
 
S

Sue Mosher [MVP-Outlook]

To get that kind of grouping, you would need to define the field as a keywords field, not as a text field. This would undoubtedly require significant changes in your application; see http://support.microsoft.com/kb/291117/en-us

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

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

John E.

Thanks so much, Sue! By going to the link you pointed me to and studying it
I was able to adapt the techniques to my code so that my list box settings
stay persistent when the Contact Item is saved and re-opened and the checked
items in the list now group properly in my custom views. It has been a long
road to get to this point, but thanks to a lot of your advice and studying
your book along the way it looks like I have what I need.
In fact, the application code I have created could be of interest/value to
others who need to keep lists with persistent check boxes when saved and
re-opened. If you think I should, I could post the procedures on you
www.outlookcode.com site with a short description????
 
S

Sue Mosher [MVP-Outlook]

Sounds like it might definitely be worth sharing. THanks.

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

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


John E. said:
Thanks so much, Sue! By going to the link you pointed me to and studying it
I was able to adapt the techniques to my code so that my list box settings
stay persistent when the Contact Item is saved and re-opened and the checked
items in the list now group properly in my custom views. It has been a long
road to get to this point, but thanks to a lot of your advice and studying
your book along the way it looks like I have what I need.
In fact, the application code I have created could be of interest/value to
others who need to keep lists with persistent check boxes when saved and
re-opened. If you think I should, I could post the procedures on you
www.outlookcode.com site with a short description????
 

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