conversion of data
Rod Caddy
rcaddy at pro-set.com
Fri Aug 13 13:15:43 PDT 2004
I am not sure that I really know how to ask this question. I need to be
able to look at the value of the data in a field and pad another field
with the number of zeros that the data tells me.
Example:
In a control file a 1 digit field is set to only allow the numbers 1-8.
Whatever the number is I will take and pad another field with that number
of zeros minus the number of characters that my starting number takes up.
Control file has 6 in it.
My starting number is 10.
My math would be 6-2=4.
My ending number would be 000010.
I can test for this and have a long drawn out process but I was trying to
shorten this. Any Ideas would be appreciated.
Rod Caddy
Pro-Set Systems
http://www.pro-set.com
http://www.towtruck2000.com
More information about the Filepro-list
mailing list