M
MED
Hello,
I have customised a contact form, amongst other things, by adding several
fields with the type 'date'.
I have other fields that perform the function 'IsDate' on them to see if a
date has been entered into these fields. The custom date fields 'pass' this
test (both with and without a date having been entered).
However, when viewing the list of contacts in the folder where I have
applied the new form, I see a strange error when I apply a filter to the
'telephone list' view...
When I filter the list of contacts by adding a filter that tests one of my
custom date fields by doing 'exists' or 'does not exist', I see entries that
should fail the filter.
By that I mean that I have entries that do not have a date entered into the
filtered field, but when I filter on 'exists' on that date field, I see a
certain number of contacts that do not have a date in that field.
This is true for any custom date field in the 'buggy' contacts...
However, if I do the same filter on a built-in field, all contacts 'pass'
the filter test and I do not see any problems.
I have noticed that when doing any manipulation (via code) on a date field,
the first time the field is interrogated, I see that there seems to be noise
in the field. What I mean is that if I pop up a message box showing the
contents of the date field, I see entries like '01/01/4501' and
'01/01/1899' - even though the field is empty and looking at the contact the
word 'None' is displayed.
I see this error using Exchange 2000, Exchange 2003, using outlook 2002 and
2000. All SPs have been installed.
I am not sure if the problem comes from the fact that it is a custom date
field, or if there are other fields disrupting the filter, or if the
contacts themselves are somehow buggy. Some contacts are very old (they
were created using older versions of outlook) and some were added via a
vcard. However, of the contacts I have problems with, not all of them were
vcards, and not all of them originate from an older version of outlook...
If anybody has any ideas on why a date field that has a value of 'None'
(default value added by the system when no date has been entered into a date
filed) is picked up by a filter which filters on 'exists' I would be very
grateful!
Cheers,
Mike.
I have customised a contact form, amongst other things, by adding several
fields with the type 'date'.
I have other fields that perform the function 'IsDate' on them to see if a
date has been entered into these fields. The custom date fields 'pass' this
test (both with and without a date having been entered).
However, when viewing the list of contacts in the folder where I have
applied the new form, I see a strange error when I apply a filter to the
'telephone list' view...
When I filter the list of contacts by adding a filter that tests one of my
custom date fields by doing 'exists' or 'does not exist', I see entries that
should fail the filter.
By that I mean that I have entries that do not have a date entered into the
filtered field, but when I filter on 'exists' on that date field, I see a
certain number of contacts that do not have a date in that field.
This is true for any custom date field in the 'buggy' contacts...
However, if I do the same filter on a built-in field, all contacts 'pass'
the filter test and I do not see any problems.
I have noticed that when doing any manipulation (via code) on a date field,
the first time the field is interrogated, I see that there seems to be noise
in the field. What I mean is that if I pop up a message box showing the
contents of the date field, I see entries like '01/01/4501' and
'01/01/1899' - even though the field is empty and looking at the contact the
word 'None' is displayed.
I see this error using Exchange 2000, Exchange 2003, using outlook 2002 and
2000. All SPs have been installed.
I am not sure if the problem comes from the fact that it is a custom date
field, or if there are other fields disrupting the filter, or if the
contacts themselves are somehow buggy. Some contacts are very old (they
were created using older versions of outlook) and some were added via a
vcard. However, of the contacts I have problems with, not all of them were
vcards, and not all of them originate from an older version of outlook...
If anybody has any ideas on why a date field that has a value of 'None'
(default value added by the system when no date has been entered into a date
filed) is picked up by a filter which filters on 'exists' I would be very
grateful!
Cheers,
Mike.