If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
how to combine 2 fields: i.e. (house# + street)=(new)address
I have two fields:1 # (numeric), & Street (text). How can I combine them
into a new field, Address? |
#2
|
|||
|
|||
how to combine 2 fields: i.e. (house# + street)=(new)address
"JimO" wrote in message
... I have two fields:1 # (numeric), & Street (text). How can I combine them into a new field, Address? Create a query. Type this into a fresh column in the Field row: FullAddress: Trim([F1] & " " & [F2]) substituting your field names for F1 and F2. You should not store this into a new field in your table, unless there could be valid reasons why the full address should *not* be the same as the concatenation of the 2 fields. If you do need to so this, use an Update query (Update on Query menu) to update the Address field to the expression above. More info in: Calculated fields at: http://allenbrowne.com/casu-14.html -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. |
#3
|
|||
|
|||
how to combine 2 fields: i.e. (house# + street)=(new)address
Try House_address = [house_number] & " " & [street] Where house_number is the numeric number of the house. Allan "JimO" wrote in message ... I have two fields:1 # (numeric), & Street (text). How can I combine them into a new field, Address? |
#4
|
|||
|
|||
how to combine 2 fields: i.e. (house# + street)=(new)address
Thank you Allen!
"Allen Browne" wrote: "JimO" wrote in message ... I have two fields:1 # (numeric), & Street (text). How can I combine them into a new field, Address? Create a query. Type this into a fresh column in the Field row: FullAddress: Trim([F1] & " " & [F2]) substituting your field names for F1 and F2. You should not store this into a new field in your table, unless there could be valid reasons why the full address should *not* be the same as the concatenation of the 2 fields. If you do need to so this, use an Update query (Update on Query menu) to update the Address field to the expression above. More info in: Calculated fields at: http://allenbrowne.com/casu-14.html -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. |
#5
|
|||
|
|||
how to combine 2 fields: i.e. (house# + street)=(new)address
Thank you Allan! "Allan Murphy" wrote: Try House_address = [house_number] & " " & [street] Where house_number is the numeric number of the house. Allan "JimO" wrote in message ... I have two fields:1 # (numeric), & Street (text). How can I combine them into a new field, Address? |
Thread Tools | |
Display Modes | |
|
|