Koen Piller
Programmer
Hi,
Based on a previous thread I have a similar problem:
My dbf consists of a ID which is a little bit different constructed as we know usualy: it is unique, with the following construction:
a.b.c.d.e
where a is the master and is always 1
where b is the first related record to a
where c is the first related record to b
a.s.o.
so you can end up ID's like:
1.1
1.1.2.1
1.1.2.2
1.2.1
1.3.1
which I would like to order:
1.1.
1.2.1
1.3.1
1.1.2.1
1.1.2.2
a possibility would be to transfer this to a number, where as, since a relation of > 20 is impossible, the number should like for 1.1.2.1 -> 1010201. I have constructed a procedure for doing this and added an extra record to my dbf. Works OK. But with the solution of "Anglisize" of Griff in mind, could we avoid this extra record and construct a similar function for this indexing?
Stay healthy,
Koen
Based on a previous thread I have a similar problem:
My dbf consists of a ID which is a little bit different constructed as we know usualy: it is unique, with the following construction:
a.b.c.d.e
where a is the master and is always 1
where b is the first related record to a
where c is the first related record to b
a.s.o.
so you can end up ID's like:
1.1
1.1.2.1
1.1.2.2
1.2.1
1.3.1
which I would like to order:
1.1.
1.2.1
1.3.1
1.1.2.1
1.1.2.2
a possibility would be to transfer this to a number, where as, since a relation of > 20 is impossible, the number should like for 1.1.2.1 -> 1010201. I have constructed a procedure for doing this and added an extra record to my dbf. Works OK. But with the solution of "Anglisize" of Griff in mind, could we avoid this extra record and construct a similar function for this indexing?
Stay healthy,
Koen