Sorry if someone has answered this question but I was not able to find it by searching the forums or google and trust me I spent hours trying to find an answer. I am really a newbie at access and What I am trying to do is combine Address1 and Address2 but it needs to check if Address 2 has a partial match at the end of the text of Address 1 and if a match remove partial end data and combine Address1 & Address2. Also If not a match to combine Address1 and Address2. If someone can show me in a VBA, SQL, or something that would be a big help.
Example to check Addresses
Note: Don't Worry about the line "|" it is to show the two separate fields.
Address1 | Address2
4333 John St Unit 3 | Unit 3
42 32st NW | 88
1918 Rosewood Cir -1 | C-1
571 Kings Court 5 | #5
36 100th ave Unit 67 | #67
End Result Full Address
4333 John St Unit3
42 32st NW 88
1918 Rosewood Cir C-1
571 Kings Court #5
36 100th ave #67
Example to check Addresses
Note: Don't Worry about the line "|" it is to show the two separate fields.
Address1 | Address2
4333 John St Unit 3 | Unit 3
42 32st NW | 88
1918 Rosewood Cir -1 | C-1
571 Kings Court 5 | #5
36 100th ave Unit 67 | #67
End Result Full Address
4333 John St Unit3
42 32st NW 88
1918 Rosewood Cir C-1
571 Kings Court #5
36 100th ave #67
Comment