![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I've set up 2 User Defined fields in Outlook 2003 -- Join Date and Renew
Date. Both fields are Date/Time types. I populate the Join Field with data and some of the Renew Fields with data. The Renew field defaults to None if not populated. The problem is when I sort on the Renew field, it doesn't appear to sort properly, i.e. there are some "None" at the top, then some dates, then more "None". Also, it doesn't filter correctly, i.e. when I filter for Join Date on or before '12/01/05' and Renew Date "does not exist" it doesn't return all the data it should. I created a new filter for testing purposes, one with User Defined fields and one where the date field was already set up, i.e Birthday. When I look at the SQL Filter User Defined field "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/Join%20Date" = '12/1/2005 12:00 AM')) Standard Field "urn:schemas:contacts:bday" = '12/1/2005 12:00 AM' Why the difference? I'd like some help in understanding this. Dave |
Ads |
#2
|
|||
|
|||
![]()
The solution is to the Renew field on *all* items with data even if it's "None" -- which is actually the date #1/1/4501#.
-- 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 "Dave F" wrote in message ... I've set up 2 User Defined fields in Outlook 2003 -- Join Date and Renew Date. Both fields are Date/Time types. I populate the Join Field with data and some of the Renew Fields with data. The Renew field defaults to None if not populated. The problem is when I sort on the Renew field, it doesn't appear to sort properly, i.e. there are some "None" at the top, then some dates, then more "None". Also, it doesn't filter correctly, i.e. when I filter for Join Date on or before '12/01/05' and Renew Date "does not exist" it doesn't return all the data it should. I created a new filter for testing purposes, one with User Defined fields and one where the date field was already set up, i.e Birthday. When I look at the SQL Filter User Defined field "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/Join%20Date" = '12/1/2005 12:00 AM')) Standard Field "urn:schemas:contacts:bday" = '12/1/2005 12:00 AM' Why the difference? I'd like some help in understanding this. Dave |
#3
|
|||
|
|||
![]()
Sue,
Thanks very much for your input. I think I understand what you are suggesting. However, the Renew field is always populated with None. Then I can populate it with a proper date. It still does not filter properly. At the bottom of my original post, you will notice the SQL filter commands. Can you explain the differences between the User Defined field filter that begins with http:... and the Birthday field the begins with urn:? That's what appears to be the key. Dave F "Sue Mosher [MVP-Outlook]" wrote in message ... The solution is to the Renew field on *all* items with data even if it's "None" -- which is actually the date #1/1/4501#. -- 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 "Dave F" wrote in message ... I've set up 2 User Defined fields in Outlook 2003 -- Join Date and Renew Date. Both fields are Date/Time types. I populate the Join Field with data and some of the Renew Fields with data. The Renew field defaults to None if not populated. The problem is when I sort on the Renew field, it doesn't appear to sort properly, i.e. there are some "None" at the top, then some dates, then more "None". Also, it doesn't filter correctly, i.e. when I filter for Join Date on or before '12/01/05' and Renew Date "does not exist" it doesn't return all the data it should. I created a new filter for testing purposes, one with User Defined fields and one where the date field was already set up, i.e Birthday. When I look at the SQL Filter User Defined field "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/Join%20Date" = '12/1/2005 12:00 AM')) Standard Field "urn:schemas:contacts:bday" = '12/1/2005 12:00 AM' Why the difference? I'd like some help in understanding this. Dave |
#4
|
|||
|
|||
![]()
The issues is that some items have never had a date set at all. Set a date for *all* items, and you should avoid the problem.
You cited schema property names for a custom property and a birthday. The birthday field exists on all items. The custom property only on those for which a value has been set. -- 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 "Dave F" wrote in message ... Sue, Thanks very much for your input. I think I understand what you are suggesting. However, the Renew field is always populated with None. Then I can populate it with a proper date. It still does not filter properly. At the bottom of my original post, you will notice the SQL filter commands. Can you explain the differences between the User Defined field filter that begins with http:... and the Birthday field the begins with urn:? That's what appears to be the key. Dave F "Sue Mosher [MVP-Outlook]" wrote in message ... The solution is to the Renew field on *all* items with data even if it's "None" -- which is actually the date #1/1/4501#. -- 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 "Dave F" wrote in message ... I've set up 2 User Defined fields in Outlook 2003 -- Join Date and Renew Date. Both fields are Date/Time types. I populate the Join Field with data and some of the Renew Fields with data. The Renew field defaults to None if not populated. The problem is when I sort on the Renew field, it doesn't appear to sort properly, i.e. there are some "None" at the top, then some dates, then more "None". Also, it doesn't filter correctly, i.e. when I filter for Join Date on or before '12/01/05' and Renew Date "does not exist" it doesn't return all the data it should. I created a new filter for testing purposes, one with User Defined fields and one where the date field was already set up, i.e Birthday. When I look at the SQL Filter User Defined field "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/Join%20Date" = '12/1/2005 12:00 AM')) Standard Field "urn:schemas:contacts:bday" = '12/1/2005 12:00 AM' Why the difference? I'd like some help in understanding this. Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Contacts - Converting User-defined Item fields to Folder fields | [email protected] | Outlook - Using Contacts | 1 | September 29th 06 09:17 PM |
Outlook, user defined fields | Mel | Outlook - Using Contacts | 3 | June 21st 06 05:55 PM |
exporting user defined fields from outlook appointment forms | Graeme Wright | Outlook - Calandaring | 2 | May 1st 06 12:51 PM |
Outlook 2003 Custom Forms User Defined Fields | [email protected] | Outlook and VBA | 4 | April 13th 06 01:50 AM |
Export & Import of outlook 2003 "User Defined Fields" at folder le | Kamele0n | Outlook - Using Contacts | 1 | February 25th 06 04:34 PM |