Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey Guys
In my script i need to get rid of a whole bunch of '0's in a specific field namely StockCode. I only need to keep the last 5 characters. In the Script the field is loaded and joined to its description like this:
(%StockCode&'-'&SalesDescr) as ProductMaster.
Has anyone got any ideas on how to Delete the unwanted 0s?
Hi Blaze,
what about this:
( Right( %StockCode,5) &'-'&SalesDescr) as ProductMaster.
Hi Blaze,
what about this:
( Right( %StockCode,5) &'-'&SalesDescr) as ProductMaster.
Sorry it is not blank it is in fact a '-'
Hi Blaze,
this depends on your data. I suppose that there is a nullvalue (or more, test it with "Show frequency") in one of the two input-fields.
RR