M
Mo Man
I am trying to write an update query that will separated the street
address and the apartment number from the field [PROPERTY LOCATION]
Currently in the [PROPERTY LOCATION] is an address that looks this
SMITH RD C0001
I would like to update [UNIT] with C0001 and REPLACE [PROPERTY
LOCATION] with SMITH RD
I have tried using the MID, RIGHT, LEFT and InSTR without any luck.
The apartments all starts with C0 and is 5 characters long, plus not
every [PROPERTY LOCATION] has a UNIT. So, I need to search for C0 and
then remove the C0 plus 3 addition characters.
I was hoping someone can shed some light on this.
Many thanks
address and the apartment number from the field [PROPERTY LOCATION]
Currently in the [PROPERTY LOCATION] is an address that looks this
SMITH RD C0001
I would like to update [UNIT] with C0001 and REPLACE [PROPERTY
LOCATION] with SMITH RD
I have tried using the MID, RIGHT, LEFT and InSTR without any luck.
The apartments all starts with C0 and is 5 characters long, plus not
every [PROPERTY LOCATION] has a UNIT. So, I need to search for C0 and
then remove the C0 plus 3 addition characters.
I was hoping someone can shed some light on this.
Many thanks