G
Guest
We have a database which has equipment identities stored in a database column
named TAG the identity is made up of a series of letters followed by numbers
examples:
V1234 PC12345 PSV123
What we are looking to do is to use a query to SPLIT the field into two
separate fields TAG_FCTN and TAG_NO (already set up in the table) the letters
should go into the TAG_FCTN column and the number into the TAG_NO column.
I have used the split command in other cases but I am not sure how to find
the point between the letters and the numbers as there is no other delimiter
and it is not possible to use one with our clients numbering system.
The ID always follows the same format with the letters before the numbers
however the length of each can vary the letters are either 1,2 or 3 caracters
long and the numbers will be 3, 4 or 5 caracters long.
How do I find the change from numbers to letters and use that in a Split
command within a query (if that is the best way to do it, maybe it should be
VB, although I am not very proficient at VB)
Access version is 2003
Thanks in advance
Steve
named TAG the identity is made up of a series of letters followed by numbers
examples:
V1234 PC12345 PSV123
What we are looking to do is to use a query to SPLIT the field into two
separate fields TAG_FCTN and TAG_NO (already set up in the table) the letters
should go into the TAG_FCTN column and the number into the TAG_NO column.
I have used the split command in other cases but I am not sure how to find
the point between the letters and the numbers as there is no other delimiter
and it is not possible to use one with our clients numbering system.
The ID always follows the same format with the letters before the numbers
however the length of each can vary the letters are either 1,2 or 3 caracters
long and the numbers will be 3, 4 or 5 caracters long.
How do I find the change from numbers to letters and use that in a Split
command within a query (if that is the best way to do it, maybe it should be
VB, although I am not very proficient at VB)
Access version is 2003
Thanks in advance
Steve