Hi people,
I am wondering if someone could help me get started with this problem please.
All off our production numbers include a "cycle" reference using alpha characters starting from "A" however there is a complication.
Please note i am only using the quotes to hopefully make my explanation easier to understand and they do nt actually appear in the production number
The "cycle" is 2 characters therefore when I say that they start from "A" what I really mean is that the first cycle is actually built up like this "<space>A" and displays as follows.
" A"
This is the same for the first 26 cycles through to " Z" then cycle 27 is as follows "AA" and so on, then cycle 53 is "BA" etc.
the cycle characters are always at postions 7 & 8 in the production number i.e. 123456 A or 123456AA etc.
My problem is how can i determine the the cycle as a number therefore
" A" would = 1
"AA" would = 27
"BA" would = 53
I want to run a query that shows me all production numbers in one field and then in the next field display the cycle as a number so that I can use this later for filtering purposes.
I am stumped as where to start with this and any help would really be appreciated
Regards
Paul
I am wondering if someone could help me get started with this problem please.
All off our production numbers include a "cycle" reference using alpha characters starting from "A" however there is a complication.
Please note i am only using the quotes to hopefully make my explanation easier to understand and they do nt actually appear in the production number
The "cycle" is 2 characters therefore when I say that they start from "A" what I really mean is that the first cycle is actually built up like this "<space>A" and displays as follows.
" A"
This is the same for the first 26 cycles through to " Z" then cycle 27 is as follows "AA" and so on, then cycle 53 is "BA" etc.
the cycle characters are always at postions 7 & 8 in the production number i.e. 123456 A or 123456AA etc.
My problem is how can i determine the the cycle as a number therefore
" A" would = 1
"AA" would = 27
"BA" would = 53
I want to run a query that shows me all production numbers in one field and then in the next field display the cycle as a number so that I can use this later for filtering purposes.
I am stumped as where to start with this and any help would really be appreciated
Regards
Paul