H
HOT FLASH
I need to sort a numbering system comprised by multiple alpha characters and
numerics, and I need it to sort this list numerically, and not using a text
convention.
The records are in this general format with each character in a separate
column (field) defined either as text or numeric:
A.1
A.1.1
A.1.1.a
A.1.1.a.1
…
Z.1.1.a.1, etc.
In an earlier help session, I was given this solution:
DisplayNumber:[FirstAlpha] & ("." + [FirstNumber]) & ("." + [SecondAlpha]) &
("." + [Second Number]) & ("." + [ThirdNumber])
With this advice: Don't sort on the calculated field, but on the individual
level fields, otherwise you will be back to square one. But I do not know
how to apply this advice.
I have tried putting the solution into a query in the first empty field
after the 5 fields and I am not having much luck. The query asks for data to
be input, and then it populates the entire calculated field with whatever I
input, rather than obtaining the information from the 5 fields I had listed
(all the fields are contained in one table). If I do not enter any data,
and only hit return, then it only places “0â€s in the numeric fields and
nothing is placed in the text fields.
These are my questions: Would I insert the first field name into
[FirstAlpha] (ditto for the rest?) It seems like something is missing, but I
have not been able to pinpoint it in any of my books and could use some
detailed step-by-step help, please!
numerics, and I need it to sort this list numerically, and not using a text
convention.
The records are in this general format with each character in a separate
column (field) defined either as text or numeric:
A.1
A.1.1
A.1.1.a
A.1.1.a.1
…
Z.1.1.a.1, etc.
In an earlier help session, I was given this solution:
DisplayNumber:[FirstAlpha] & ("." + [FirstNumber]) & ("." + [SecondAlpha]) &
("." + [Second Number]) & ("." + [ThirdNumber])
With this advice: Don't sort on the calculated field, but on the individual
level fields, otherwise you will be back to square one. But I do not know
how to apply this advice.
I have tried putting the solution into a query in the first empty field
after the 5 fields and I am not having much luck. The query asks for data to
be input, and then it populates the entire calculated field with whatever I
input, rather than obtaining the information from the 5 fields I had listed
(all the fields are contained in one table). If I do not enter any data,
and only hit return, then it only places “0â€s in the numeric fields and
nothing is placed in the text fields.
These are my questions: Would I insert the first field name into
[FirstAlpha] (ditto for the rest?) It seems like something is missing, but I
have not been able to pinpoint it in any of my books and could use some
detailed step-by-step help, please!