Adding "$" sign before numeric field

jdeman

Active Member
Adding \"$\" sign before numeric field

Hi All,
Is there any Edit code which formats a numeric field to add "$" character before it's value while printing. I can hardcode "$" character to print before the numeric value.
This was available on AS/400 I could not find in OW. Did I miss it or it's not available at all.??

Thanks
jdeman



OW-XE(SP-16.1) WINNT
Co-exist AS/400
 
Re: Adding \"$\" sign before numeric field

Hi Jdeman.

While in RDA, you can click the visual aid to get a list of the available edit codes. There are quite a few to choose from, but unfortunately there is no floating '$' sign.
You can simply hard-code it as you have suggested, or you could use the event rules to convert numeric to string, use substring position to remove leading blanks, and then concatinate the '$' sign to the numeric portion of the string.
It's a lot of work for something that was so easy on the AS/400, but then RDA isn't done on the 400.
Me, I simply put the '$' sign in the heading and be done with it.

Joseph
 
Back
Top Bottom