I have a report (trdp) with a zip code field. some of the data has the zip code saved as 5 digits some have 9 (ie. 12345-4578). If the data length is 5 I want the report to display 01245 if it's length is > 5 I want to display 01245-7845.
How would one acomplish this without using a user defined function?