Good Afternoon!
I'm working in Report Designer and have a situation where a field (Customer Order Position {tdsls401.corp} from Sales Order session tdsls4100m900) has a domain of "tdlino" (long) and display format of "ZZZZ9" with data as "0003" and need to keep the data format. Unfortunately, the output currently returns as "3". I did try with display format of "99999", but it added an extra zero to the string ("00003"). I changed the Print Expression to "str$({field})" to format the output as string, but it still strips off the leading zeros. I did try to change the domain to tctext with converting to string using "str$()", but no luck there either. I've tried a few other things (like sprintf$()), but not really having any luck, and was hoping that someone may have a recommendation.
Thank you in advance.
Best Regards,
--Ken