Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I manage fields longer than 255 characters?

Status
Not open for further replies.

IreneMcBeatle

Programmer
Oct 1, 2003
5
RU
Hello,
I need to put fields into my Crystal Reports 8.0 report, that have VARCHAR2 type in Oracle 9i and are longer than 255. When I put such fields into report there isn't any preview. Error message is: "Not supported". What should I do? Please, help me!
 
What type of connectivity are you using?

If ODBC, make sure that you use the CR supplied ODBC driver, not the Oracle or MS version.

If this is still a problem, use a SQL Expression and CAST or CONVERT it to a VARCHAR. Crystal 8.X will display fields longer than 254, you just can't use them in formulas. If you need to use them in formulas, create multiple fields using SQL Expressions.

-k
 
I've tried SQL Expression Editor, but none of the fields I need to convert are avaliable in Field Tree. I tried to type them in, but couldn't cope with syntax. Could you please post a sample line with Convert function?
 
Thank you. The problem was solved. I tried to use ODBC Oracle connection instead of OLE DB. Now data is displayed correctly, all fields are available.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top