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

Does Crystal Reports 9 have an 'rpad' function?

Status
Not open for further replies.

alarge23

Programmer
Oct 26, 2003
50
US
I am trying to create a selection formula and I need a function similar to the SQL function: rpad. Does Crystal Reports have this function?
 
hi
rpad is an oracle function
and yes you can used it in crystal SQL expression

cheers

pg

pgtek
 
If what you are looking for is a Crystal formula, here's an expression you can use (assuming total length is 10 and padding is with zeros:
Code:
LEFT(TRIM(MyField)+ ReplicateString("0", 10),10)

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top