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

Changing Field Lengths

Status
Not open for further replies.
Dec 13, 2004
63
0
0
US
Hi,

I am using Crystal 10 with an Oracle DB. I have to convert a large amount of data based on certain field formats.

For example, in the Oracle DB, the "Name" field is 60 characters. How can I change the field length to 30 characters?

 
You can get the first 30 characters using
Code:
Left(your.field}, 30)
This will lose the other 30. You can use Right(your.field}, 30) to get that. There is also Length(your.field}) to check how much of a field is really used.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top