I have a some fields that I need some help pulling data from:
1. Field CAL.ACCOUNTNO This string field contains both a Sales Rep and a period. For Example, QSCJONES20070228. I need to be able to pull out the 20070228 and then convert it to read Feb-07 in a date format. I also need to pull out the sales rep name. However, I don't think I can use the left or right function because the name will always be a different length. How can I accomplish both of these?
2. Field CAL.COMPANY. This string field contains data that is formated like this: 50000 0 211987 0
This first set of numbers is what I need. This is a sales quota number. I need to extract that and put it in number format. Again, not sure if I can use the left or right function becuase this number could be 50000 or 100000 (a different lenght). Is there a way I can have it pull everything from left to right until it gets to a space?
Thanks for your help