I have a field in a table that looks like this for example MNJUIIII#33, mnnn#2,
i want to parse the number in the query in a new column like 33, 2 how do I do that? Thanks.
Ok i'm back, i want all characters after the # sign I tried the expressions no luck please help.
right([model], instr([model], "#") - 1)
i tried RTrim(Mid([model],1,InStr([model]," ")-1)) it's not working
it's only parsing the first section. all i want is to extract field after the #sign for example mmmddd#44 i want to get 44,but I can't count cuz each field has different lenght. thanks for trying to help.
try this mr. moe:Code:right([model], instr([model], "#") - 1)
Originally you said
I have a field in a table that looks like this for example MNJUIIII#33, mnnn#2,
I assumed that that was all 1 field and that you wished to extract the 2 numbers, if however they were 2 examples of the field then lookup InstrRev Right and Len althougth there is nothing wrong with instr and mid, it will just complete your education.
Brian
OK, so I missed the boat. I thought the whole line was one entry, not two. In that case, the following might get what you want: