![]() |
| 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. |
|
|||||||
| Tags: filtered, properties, udfs, user, views |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
|
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 |