R
rciolkosz
What is the expression to separate street number from street name?
rciolkosz said:What is the expression to separate street number from street name?
Allen Browne said:rciolkosz said:What is the expression to separate street number from street name?
There's not really a simple answer to that question.
If the field is called AddressLine1, you could try this in the Field row in
query design:
IIf([AddressLine1] Is Null, Null, Val([AddressLine1]))
However this would fail with lots of addresess, such as:
2 / 45 Main St
Unit 2, 45 Main St
Lot 2 Main St
Cnr Main and Cross Sts
First Floor, 45 Main St
and heaps more.
rciolkosz said:how about an expression just for the text part of the address and not the
numeric
Allen Browne said:rciolkosz said:What is the expression to separate street number from street name?
There's not really a simple answer to that question.
If the field is called AddressLine1, you could try this in the Field row
in
query design:
IIf([AddressLine1] Is Null, Null, Val([AddressLine1]))