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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TEXT FIELD LENGTH

Status
Not open for further replies.

Lambro

Programmer
Joined
Aug 22, 2001
Messages
258
Location
US
I'm using a text field on my report in the details section that uses information from a data field. The text field seems to be limiting me to 50 characters only. I need to put more then that in the text field. I turned on the "grow" option. Please help. I'm using Crystal Reports 8.5 Developers Edition
 
There isn't a 50 character limit.

Drop one in alongside and instead of using a field in it, type a 100 characters, you'll see that there's no limit like that.

Are you dropping a table field or a formula field into the text box? If it's a formula, I'd guess that your formula is at fault, otherwise, right click any table field and select browse data to learn it's length.

-k
 
when I right click it says Field Type: String and Length: 50 on all 3 of my fields. They are pulled from an SQL database and each one has a different length in the SQL database.
 
Hmmm, what are the data types with SQL Server, and what version of SQL Server?

Are you using a View or a SQL Expression in which it might be CAST as another data type?

-k
 
I'm using a view
 
I'd guess that the View is Casting or altering the data.

Open the View up and see what it's doing.

-k
 
I looked at the view in the Enterprise Manager and all my data apears fine. The lengths are not cut short.
 
how can you see the data types of a view?
 
Try verifying the database.. (database->verify). Sometimes crystal gets confused when things change and doesn't give proper string length. Usually a verify will fix it up.

Lisa
 
Can you look at the SQL in the View?

If it doesn't use any functions in there, then just verify that it's pulling from the table columns you expect, and that they are the type and size you expect.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top