D
David
Hi All,
Can anyone help. I am rather rusty on Access 2007 and I work for a small
charity that has a database of 150,000 addresses. Each address is all in one
field separated by commas but they are all different lengths within a single
field, for example:-
Rec1: 14,Hawthorn Avenue, Anytown, CHX X01.
Rec2: The Firs,Strentham Road, Anyplace, ST54 XXX.
Rec3: Dunroamin,45,Heysham Street,Any old Town,GH45 6XX.
Rec4: Flat 12,Sloan Villas,Oxton Road,Anycity,FT43 9XO.
Rec5: Apartment 2,Yew Tree Heights,45,Stuart Drive,Anyplace,PO56 7RX
I need to spilt then into six fields with the following field names of:-
PremisesNo, PremisesName, HouseNo, Street, Town, PostCode
I can't devise a query to do this using the commas as separators as some
records have three commas as separators and some have five commas. If I
export as a csv then re-import then the fields get all mixed up as it
re-imports reading from left to right. Any help much appreciated.
Many thanks, David (UK)
Can anyone help. I am rather rusty on Access 2007 and I work for a small
charity that has a database of 150,000 addresses. Each address is all in one
field separated by commas but they are all different lengths within a single
field, for example:-
Rec1: 14,Hawthorn Avenue, Anytown, CHX X01.
Rec2: The Firs,Strentham Road, Anyplace, ST54 XXX.
Rec3: Dunroamin,45,Heysham Street,Any old Town,GH45 6XX.
Rec4: Flat 12,Sloan Villas,Oxton Road,Anycity,FT43 9XO.
Rec5: Apartment 2,Yew Tree Heights,45,Stuart Drive,Anyplace,PO56 7RX
I need to spilt then into six fields with the following field names of:-
PremisesNo, PremisesName, HouseNo, Street, Town, PostCode
I can't devise a query to do this using the commas as separators as some
records have three commas as separators and some have five commas. If I
export as a csv then re-import then the fields get all mixed up as it
re-imports reading from left to right. Any help much appreciated.
Many thanks, David (UK)