Aug 2, 2004 #1 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?
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?
Aug 2, 2004 #2 pgtek Programmer Sep 28, 2001 1,180 CA hi rpad is an oracle function and yes you can used it in crystal SQL expression cheers pg pgtek Upvote 0 Downvote
Aug 2, 2004 #3 IdoMillet Instructor Feb 6, 2001 5,290 US 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. http://www.MilletSoftware.com Upvote 0 Downvote
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. http://www.MilletSoftware.com