P E Schoen
2011-02-15 04:01:16 UTC
I just received a request from a customer who wants to sort test results
according to an "ID" field, which is set up as 20 characters in a dBase III+
database using the BDE and D4pro. For instance, he wants the results ordered
as follows:
124
1231
1234
Probably the easiest solution would be to change 124 to 0124. Apparently
this customer has used a simple sequence of numbers, possibly starting from
1 and going to (at least) 1234 per his example. If this were a one-off
application I could change the field to numeric, or I could convert any
numeric entry into the equivalent text with leading zeroes to four or five
digits.
Generally, "the customer id always right", but I think this request borders
on the unreasonable.
Any ideas or advice to present to the customer?
Thanks,
Paul
according to an "ID" field, which is set up as 20 characters in a dBase III+
database using the BDE and D4pro. For instance, he wants the results ordered
as follows:
124
1231
1234
Probably the easiest solution would be to change 124 to 0124. Apparently
this customer has used a simple sequence of numbers, possibly starting from
1 and going to (at least) 1234 per his example. If this were a one-off
application I could change the field to numeric, or I could convert any
numeric entry into the equivalent text with leading zeroes to four or five
digits.
Generally, "the customer id always right", but I think this request borders
on the unreasonable.
Any ideas or advice to present to the customer?
Thanks,
Paul