G
Guest
Hi people.
Someone put two values together that I didn't want put together, I don't
know how it was done, and I need to take the field back apart. Problem:
In the column in question, each cell looks like this: 123:456 Sometimes
the numbers before the ":" (colon) are two numbers, sometimes three. Same
after the ":". I need to take these numbers out and create two columns, one
with the first set of numbers, the other with the second set of numbers.
Under ACCESS/QUERIES section of the ACCESS newsgroup I was given this
explanation. However, I don't know what to do with it. Could someone please
tell me exactly what to do with this? Or maybe another way to go about it?
Put the two following expressions in empty fields in a query:
LeftNumbers:Left(NameOfNumbersField,Instr(NameOfNumbersField,":")-1)
RightNumbers:Mid(NameOfNumbersField,Instr(NameOfNumbersField,":")+1)
You can now export these two fields in the query to Excel.
Any other suggestions?
Thank you.
RickyDee
Someone put two values together that I didn't want put together, I don't
know how it was done, and I need to take the field back apart. Problem:
In the column in question, each cell looks like this: 123:456 Sometimes
the numbers before the ":" (colon) are two numbers, sometimes three. Same
after the ":". I need to take these numbers out and create two columns, one
with the first set of numbers, the other with the second set of numbers.
Under ACCESS/QUERIES section of the ACCESS newsgroup I was given this
explanation. However, I don't know what to do with it. Could someone please
tell me exactly what to do with this? Or maybe another way to go about it?
Put the two following expressions in empty fields in a query:
LeftNumbers:Left(NameOfNumbersField,Instr(NameOfNumbersField,":")-1)
RightNumbers:Mid(NameOfNumbersField,Instr(NameOfNumbersField,":")+1)
You can now export these two fields in the query to Excel.
Any other suggestions?
Thank you.
RickyDee