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

Tags: , , , ,

Views filtered by User properties (UDFs)





 
 
Thread Tools Display Modes
  #1  
Old May 14th 07, 08:05 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Views filtered by User properties (UDFs)

I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?



Ads
  #2  
Old May 14th 07, 08:11 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Views filtered by User properties (UDFs)

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.
--
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

"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?



  #3  
Old May 14th 07, 10:07 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Views filtered by User properties (UDFs)


The fields seem to be empty, but these are the same fields i added earlier
and added data to from my external application.
once again i can see that data when i open the form region.


"Sue Mosher [MVP-Outlook]" wrote:

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.
--
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

"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?




  #4  
Old May 14th 07, 10:30 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Views filtered by User properties (UDFs)

Sounds like or the folder-level field definition is not the same as the item-level field definition. They need to have exactly the same name and data type.

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

"Vbasiccode" wrote in message ...

The fields seem to be empty, but these are the same fields i added earlier
and added data to from my external application.
once again i can see that data when i open the form region.


"Sue Mosher [MVP-Outlook]" wrote:

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.



"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?




  #5  
Old May 14th 07, 10:56 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Views filtered by User properties (UDFs)


When i goto Application/Developer tab/ All Fields tab
Select from User-defined fields in this item, the field is not listed so i
click the new button and add the new field 'Carrier', text when i click OK I
get the error mesage
"A field with this name already exists in the 'User-defined fields in
folder" fields set. Enter a different name.

So it does not appear i can add it to both places.

it is however listed in the item list if i first open the new form region
first, then look at the all fields tab.

I must be missing some link between the data attached to the Form Region
screen and the data stored in the parent form (Acount form)

Thanks for you contuing help

"Sue Mosher [MVP-Outlook]" wrote:

Sounds like or the folder-level field definition is not the same as the item-level field definition. They need to have exactly the same name and data type.

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

"Vbasiccode" wrote in message ...

The fields seem to be empty, but these are the same fields i added earlier
and added data to from my external application.
once again i can see that data when i open the form region.


"Sue Mosher [MVP-Outlook]" wrote:

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.



"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?





  #6  
Old May 14th 07, 11:33 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Views filtered by User properties (UDFs)

This is BCM data? You need to follow its procedure to add fields through the UI; see http://msdn2.microsoft.com/en-us/library/bb267997.aspx and http://blogs.msdn.com/bcm/archive/20...izing-bcm.aspx.

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

"Vbasiccode" wrote in message news

When i goto Application/Developer tab/ All Fields tab
Select from User-defined fields in this item, the field is not listed so i
click the new button and add the new field 'Carrier', text when i click OK I
get the error mesage
"A field with this name already exists in the 'User-defined fields in
folder" fields set. Enter a different name.

So it does not appear i can add it to both places.

it is however listed in the item list if i first open the new form region
first, then look at the all fields tab.

I must be missing some link between the data attached to the Form Region
screen and the data stored in the parent form (Acount form)

Thanks for you contuing help

"Sue Mosher [MVP-Outlook]" wrote:

Sounds like or the folder-level field definition is not the same as the item-level field definition. They need to have exactly the same name and data type.


"Vbasiccode" wrote in message ...

The fields seem to be empty, but these are the same fields i added earlier
and added data to from my external application.
once again i can see that data when i open the form region.


"Sue Mosher [MVP-Outlook]" wrote:

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.



"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?





  #7  
Old May 15th 07, 07:01 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Views filtered by User properties (UDFs)

I started from scratch cleaned out everything, added all the fields to the
folder udf
Then Created a new Form Region (seperate) binded to the udf folder fields.
From my external app ran code to read the userproperties for the new fields
if not found add them then move data into the fields.

Next opened up the outlook account form and then opened up the new form
region and the data was there.

I next defined a new view which was to showe me the File As, Bus Phone and
the custom fields. Although i was able to select the fields, when the view
ran no data was returned in the custom fields.

Finally
(I do not like this solution)

I customized the Account form, the user definitions page and added the
fields that i would be reporting on. (unless i can hide this form or the
fields somehow this is very amature looking, and would allow the user a way
to edit the data directly, definatly not desirable.)

i then created a new view and the data was returned as expected.

This solution works but as you can see from above it is not a very good one.

If you have any last minute suggestions i would appreciate it.
Thank you for your time.



"Sue Mosher [MVP-Outlook]" wrote:

This is BCM data? You need to follow its procedure to add fields through the UI; see http://msdn2.microsoft.com/en-us/library/bb267997.aspx and http://blogs.msdn.com/bcm/archive/20...izing-bcm.aspx.

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

"Vbasiccode" wrote in message news

When i goto Application/Developer tab/ All Fields tab
Select from User-defined fields in this item, the field is not listed so i
click the new button and add the new field 'Carrier', text when i click OK I
get the error mesage
"A field with this name already exists in the 'User-defined fields in
folder" fields set. Enter a different name.

So it does not appear i can add it to both places.

it is however listed in the item list if i first open the new form region
first, then look at the all fields tab.

I must be missing some link between the data attached to the Form Region
screen and the data stored in the parent form (Acount form)

Thanks for you contuing help

"Sue Mosher [MVP-Outlook]" wrote:

Sounds like or the folder-level field definition is not the same as the item-level field definition. They need to have exactly the same name and data type.


"Vbasiccode" wrote in message ...

The fields seem to be empty, but these are the same fields i added earlier
and added data to from my external application.
once again i can see that data when i open the form region.


"Sue Mosher [MVP-Outlook]" wrote:

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.


"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?






  #8  
Old May 15th 07, 07:46 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Views filtered by User properties (UDFs)

I'm as confused as you are. One of the suggested pages says user-defined fields in Business Contact Manager for Outlook cannot be created or deleted programmatically by using the Outlook Object Model UserProperties.Add() property. The other page shows an example of using UserProperties.Add. Which is right? I have no idea. Maybe what they mean is that UserProperties.Add will work only if you have already defined the field by selecting Customize forms on the Business Contact Manager menu. You might want to ask on the microsoft.public.outlook.bcm forum.

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

"Vbasiccode" wrote in message ...
I started from scratch cleaned out everything, added all the fields to the
folder udf
Then Created a new Form Region (seperate) binded to the udf folder fields.
From my external app ran code to read the userproperties for the new fields
if not found add them then move data into the fields.

Next opened up the outlook account form and then opened up the new form
region and the data was there.

I next defined a new view which was to showe me the File As, Bus Phone and
the custom fields. Although i was able to select the fields, when the view
ran no data was returned in the custom fields.

Finally
(I do not like this solution)

I customized the Account form, the user definitions page and added the
fields that i would be reporting on. (unless i can hide this form or the
fields somehow this is very amature looking, and would allow the user a way
to edit the data directly, definatly not desirable.)

i then created a new view and the data was returned as expected.

This solution works but as you can see from above it is not a very good one.

If you have any last minute suggestions i would appreciate it.
Thank you for your time.



"Sue Mosher [MVP-Outlook]" wrote:

This is BCM data? You need to follow its procedure to add fields through the UI; see http://msdn2.microsoft.com/en-us/library/bb267997.aspx and http://blogs.msdn.com/bcm/archive/20...izing-bcm.aspx.

"Vbasiccode" wrote in message news

When i goto Application/Developer tab/ All Fields tab
Select from User-defined fields in this item, the field is not listed so i
click the new button and add the new field 'Carrier', text when i click OK I
get the error mesage
"A field with this name already exists in the 'User-defined fields in
folder" fields set. Enter a different name.

So it does not appear i can add it to both places.

it is however listed in the item list if i first open the new form region
first, then look at the all fields tab.

I must be missing some link between the data attached to the Form Region
screen and the data stored in the parent form (Acount form)

Thanks for you contuing help

"Sue Mosher [MVP-Outlook]" wrote:

Sounds like or the folder-level field definition is not the same as the item-level field definition. They need to have exactly the same name and data type.


"Vbasiccode" wrote in message ...

The fields seem to be empty, but these are the same fields i added earlier
and added data to from my external application.
once again i can see that data when i open the form region.


"Sue Mosher [MVP-Outlook]" wrote:

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.


"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?






  #9  
Old May 15th 07, 08:03 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Views filtered by User properties (UDFs)

Thanks for your time
Glad to hear I'm not nuts:-)
Have a good day


"Sue Mosher [MVP-Outlook]" wrote:

I'm as confused as you are. One of the suggested pages says user-defined fields in Business Contact Manager for Outlook cannot be created or deleted programmatically by using the Outlook Object Model UserProperties.Add() property. The other page shows an example of using UserProperties.Add. Which is right? I have no idea. Maybe what they mean is that UserProperties.Add will work only if you have already defined the field by selecting Customize forms on the Business Contact Manager menu. You might want to ask on the microsoft.public.outlook.bcm forum.

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

"Vbasiccode" wrote in message ...
I started from scratch cleaned out everything, added all the fields to the
folder udf
Then Created a new Form Region (seperate) binded to the udf folder fields.
From my external app ran code to read the userproperties for the new fields
if not found add them then move data into the fields.

Next opened up the outlook account form and then opened up the new form
region and the data was there.

I next defined a new view which was to showe me the File As, Bus Phone and
the custom fields. Although i was able to select the fields, when the view
ran no data was returned in the custom fields.

Finally
(I do not like this solution)

I customized the Account form, the user definitions page and added the
fields that i would be reporting on. (unless i can hide this form or the
fields somehow this is very amature looking, and would allow the user a way
to edit the data directly, definatly not desirable.)

i then created a new view and the data was returned as expected.

This solution works but as you can see from above it is not a very good one.

If you have any last minute suggestions i would appreciate it.
Thank you for your time.



"Sue Mosher [MVP-Outlook]" wrote:

This is BCM data? You need to follow its procedure to add fields through the UI; see http://msdn2.microsoft.com/en-us/library/bb267997.aspx and http://blogs.msdn.com/bcm/archive/20...izing-bcm.aspx.

"Vbasiccode" wrote in message news
When i goto Application/Developer tab/ All Fields tab
Select from User-defined fields in this item, the field is not listed so i
click the new button and add the new field 'Carrier', text when i click OK I
get the error mesage
"A field with this name already exists in the 'User-defined fields in
folder" fields set. Enter a different name.

So it does not appear i can add it to both places.

it is however listed in the item list if i first open the new form region
first, then look at the all fields tab.

I must be missing some link between the data attached to the Form Region
screen and the data stored in the parent form (Acount form)

Thanks for you contuing help

"Sue Mosher [MVP-Outlook]" wrote:

Sounds like or the folder-level field definition is not the same as the item-level field definition. They need to have exactly the same name and data type.

"Vbasiccode" wrote in message ...

The fields seem to be empty, but these are the same fields i added earlier
and added data to from my external application.
once again i can see that data when i open the form region.


"Sue Mosher [MVP-Outlook]" wrote:

It might be useful to add the field to a view's columns and see what the field actually contains, before trying to use it in a filter.


"Vbasiccode" wrote in message ...
I now have a form region, and i can now talk to the User Properties from an
external application. So the next natural step would be to filture both views
and reports by the user properties.
When i create a new custom view i can select from he "user defined field in
folder"
mark the fields for display. Using the filter i can go to the advance tab
select the field button selecting the UDF and add the condition
example
'Total Premium' 'is more then' 0

click OK and work my way out

But for some reason no records are returned. It does not seem to see the
data stored in the 'Total Premium' field.

How can you both view and filter on UDFs for both views and reports?







 




Thread Tools
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
Customize the user properties dialog in Outlook 2007 yousry Add-ins for Outlook 2 May 15th 07 09:38 AM
How to take advantage of user defined properties immediately after Outlook Message Itemtype conversion ? codemonkey_147 Outlook and VBA 2 February 8th 07 04:59 PM
Identifying whether there are user properties defined Dewey Add-ins for Outlook 3 September 22nd 06 12:01 AM
Clients does not recognize changes to user-defined views Per Koch Outlook - Using Forms 2 May 17th 06 08:06 AM
User-managed shared views of contacts with common attribute? Steve Barker Outlook - Using Contacts 1 January 18th 06 03:32 PM


All times are GMT +1. The time now is 03:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Credit Counseling - Xbox Mod Chip - Bad Credit Mortgages - Remortgages - Credit Cards