Merge fields to a new field

M

marjac

How do I concatenate strings from multiple fields to a new field and repeat
the action for all records in a database? I have Office 2003.
 
F

fredg

How do I concatenate strings from multiple fields to a new field and repeat
the action for all records in a database? I have Office 2003.


In a query?
NewColumn:[FieldA] & " " & [FieldB] & " " & [FieldC]
 
J

John Vinson

How do I concatenate strings from multiple fields to a new field and repeat
the action for all records in a database? I have Office 2003.

Why would you WANT to!?

You can do so dynamically, by creating a Query with a calculated
field:

Lump: [FieldA] & [FieldB] & [FieldC]

But this lump should almost certainly not be stored in any table.

John W. Vinson[MVP]
 
J

jeannette_rivera

How can I add spaces between fields?

Jeannette

John Vinson said:
How do I concatenate strings from multiple fields to a new field and repeat
the action for all records in a database? I have Office 2003.

Why would you WANT to!?

You can do so dynamically, by creating a Query with a calculated
field:

Lump: [FieldA] & [FieldB] & [FieldC]

But this lump should almost certainly not be stored in any table.

John W. Vinson[MVP]
 
J

John Spencer

Lump: [FieldA] & " " & [FieldB] & " " & [FieldC]


jeannette_rivera said:
How can I add spaces between fields?

Jeannette

John Vinson said:
How do I concatenate strings from multiple fields to a new field and
repeat
the action for all records in a database? I have Office 2003.

Why would you WANT to!?

You can do so dynamically, by creating a Query with a calculated
field:

Lump: [FieldA] & [FieldB] & [FieldC]

But this lump should almost certainly not be stored in any table.

John W. Vinson[MVP]
 
J

John Vinson

How can I add spaces between fields?

By including them in the string concatenation, using " " - a literal
space character:

Lump: [FieldA] & " " & [FieldB] & " " & [FieldC]


John W. Vinson[MVP]
 
Top