T
TD
I have a field in my database that has records with dashes "-" in the field.
Example:
123-GP-0124444
1234-GP-0123
What I need to be able to accomplish is to have a field on my form that only
show the first two groups of numbers/letters, that is the first two out of
three groups that are seperated with the dash.
The problem is that the records are not consistant in lenght, for example
the first group of numbers before the first dash may have 3 digits or they
may have 4 digits.
Could anyone please guide me in the right direction?
TIA
TD
Example:
123-GP-0124444
1234-GP-0123
What I need to be able to accomplish is to have a field on my form that only
show the first two groups of numbers/letters, that is the first two out of
three groups that are seperated with the dash.
The problem is that the records are not consistant in lenght, for example
the first group of numbers before the first dash may have 3 digits or they
may have 4 digits.
Could anyone please guide me in the right direction?
TIA
TD