sql server ntext fields only display first 255 characters

I have a report built with CR 9.0 that has multiple ntext fields.  The fields that were originally defined as ntext show in their entirety.  The fields that were originally varchar and were later converted to ntext only show the first 255 characters.  I've tried verifying the database and pointing to another datasource with no luck.  If I run a query in Query Analyzer, Access, etc. I get all the text returned.
mdebeerAsked:
Who is Participating?
 
moduloConnect With a Mentor Commented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0
 
bdreed35Commented:
What type of connectivity are you using? (Native, ODBC, OLEDB).

I have always had good resutls with ODBC, so you can try that.  I avoid the Native SQL Server driver that comes with Crystal since it has not been updated in a long time.
0
 
frodomanCommented:
Have you tried deleting the field from your report and then adding it again (after you've verified the database)?
0
2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

 
mdebeerAuthor Commented:
Yes, I tried that and also tried creating a new report that points to a copy of the database and I get just 255 chars from that too.
0
 
vidruCommented:
It could be that it just doesn't like NTEXT fields.  Any chance you can create a View of the table that converts the NTEXT field to TEXT as a test?

-dave
0
 
bdreed35Commented:
How are you connecting to the database in Crystal?
0
 
mdebeerAuthor Commented:
I converted the field from NTEXT to TEXT and got the same result.  I am connecting to the database in Crystal using the OLE DB driver for SQL Server then pointing to an IP address and then pointing to a view.
0
 
mdebeerAuthor Commented:
Here's some more information.  The field was originally varchar(300) and I converted it to ntext (and just now to text).  When I go to the properties for the field in CR it shows the length as still being 300 characters (I guessed it was 255 but apparently it's 300).  Anyway, CR is still using the old definition of the field even thought I've connected to other databases, done verify database, etc.  Any ideas?
0
 
mdebeerAuthor Commented:
I think I've figured out a solution.  I removed the field from my view, then ran verify database.  Then added it back, then ran verify database again and it showed all the text.  CR does some great stuff but it sure is buggy.  Seems like I'm always doing goofy workarounds like this to solve problems.  Anyway, thanks to everyone for you input.
0
All Courses

From novice to tech pro — start learning today.