I've got a table I created in SQL Server. Its in a separate database
from the SharePoint databases. I'd like to use a dataview to display
a filtered subset of the table data in SharePoint. However, there
seems to be a problem when trying to filter on nvarchar(255) fields.
My only options for filtering on nvarchar(255) fields in both
FrontPage via Dataviews and also MS Access through a linked ODBC table
include NULL and NOT NULL. I don't get any of the standard comparison
options like begins with, equals, etc. that I would expect. (I also
tested with Excel and found the filters work properly there using new
database query.)
We tested this with my table I created as well as a standard
SharePoint database (just to see if I had created my table improperly)
and found the same result. All other field types seem to give the
proper filter options.
When I changed the field type from nvarchar(255) to nvarchar(254), my
filter options worked properly.
Can anyone validate my findings? Think it's a bug?