P
Paul Baxter
If I set a text box's "Enter Key Behavior" to "New Line in
Field", hitting the Enter key inserts Chr(10) Chr(13) in
the underlying table to separate the data of the two lines.
But, if I try to duplicate this by running an update query
(or do the same in code in the form's Current event) that
combines two fields' data:
[Field3] = [Field1] & Chr(10) & Chr(13) & [Field2]
when the form looks at that field the textbox lines are
not separated but instead look like:
Field1||Field2
How can I combine 2 or more fields into separate lines in
a third field?
TIA,
Paul
Field", hitting the Enter key inserts Chr(10) Chr(13) in
the underlying table to separate the data of the two lines.
But, if I try to duplicate this by running an update query
(or do the same in code in the form's Current event) that
combines two fields' data:
[Field3] = [Field1] & Chr(10) & Chr(13) & [Field2]
when the form looks at that field the textbox lines are
not separated but instead look like:
Field1||Field2
How can I combine 2 or more fields into separate lines in
a third field?
TIA,
Paul