theresakad
Programmer
I am struggling trying to figure out how to go about this. Your help is greatly appreciated.
I have about 6000 records. Field1 contains a series of characters in consecutive order of the alphabet. I need to know the number of consecutive letters starting from the end of the string. The alphabet starts over once Z is reached. I hope this is understandable. If more information is needed, please let me know.
I need to loop through each row and each character in field1 in that row and some how get a count for each record. Once i find that count i need to set another field in that record based on that count.
Sample Data
ID field1 Result Count
1 QRUVW 3
2 OPRSTUV 5
3 NP 1
4 EFGHIQRSUV 2
5 STUVWXYZA 9
If count = 3 then field2 will be bronze.
If count = 2 then fields will be silver.
I have about 6000 records. Field1 contains a series of characters in consecutive order of the alphabet. I need to know the number of consecutive letters starting from the end of the string. The alphabet starts over once Z is reached. I hope this is understandable. If more information is needed, please let me know.
I need to loop through each row and each character in field1 in that row and some how get a count for each record. Once i find that count i need to set another field in that record based on that count.
Sample Data
ID field1 Result Count
1 QRUVW 3
2 OPRSTUV 5
3 NP 1
4 EFGHIQRSUV 2
5 STUVWXYZA 9
If count = 3 then field2 will be bronze.
If count = 2 then fields will be silver.