Field Concatenation

S

Shelly

I'm not sure this is the right place to post this, but
I'll give it a try...

I have a report and I want to concatenate two fields
together into one with a hard return between. In other
words in one control I want it to show this...

Field1 data
Field2 data

Can I do this? How would I put these together?

Thanks in advance...
Shelly
 
F

fredg

I'm not sure this is the right place to post this, but
I'll give it a try...

I have a report and I want to concatenate two fields
together into one with a hard return between. In other
words in one control I want it to show this...

Field1 data
Field2 data

Can I do this? How would I put these together?

Thanks in advance...
Shelly

As Control Source of an UNBOUND text control:
=[Field1] & chr(13) & chr(10) & [Field2]

Note.. the chr(13) and chr(10) must be in that order.
 
G

Guest

-----Original Message-----
I'm not sure this is the right place to post this, but
I'll give it a try...

I have a report and I want to concatenate two fields
together into one with a hard return between. In other
words in one control I want it to show this...

Field1 data
Field2 data

Can I do this? How would I put these together?

Thanks in advance...
Shelly

As Control Source of an UNBOUND text control:
=[Field1] & chr(13) & chr(10) & [Field2]

Note.. the chr(13) and chr(10) must be in that order.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.

Thanks, Fred...my head hurts from banging it against the
keyboard...I should have known that one.

Shelly
 
N

NBReceptionist

how do I do the same thing without the hard return. I want a space between [Field 1] and [Field 2]. I am sure this is as simple as pie, but I'm a brand new user. Thanks for the help!

fredg said:
I'm not sure this is the right place to post this, but
I'll give it a try...

I have a report and I want to concatenate two fields
together into one with a hard return between. In other
words in one control I want it to show this...

Field1 data
Field2 data

Can I do this? How would I put these together?

Thanks in advance...
Shelly

As Control Source of an UNBOUND text control:
=[Field1] & chr(13) & chr(10) & [Field2]

Note.. the chr(13) and chr(10) must be in that order.
 
N

NBReceptionist

I figured it out after much trial and error! I'm still interested in y'alls comments.

NBReceptionist said:
how do I do the same thing without the hard return. I want a space between [Field 1] and [Field 2]. I am sure this is as simple as pie, but I'm a brand new user. Thanks for the help!

fredg said:
I'm not sure this is the right place to post this, but
I'll give it a try...

I have a report and I want to concatenate two fields
together into one with a hard return between. In other
words in one control I want it to show this...

Field1 data
Field2 data

Can I do this? How would I put these together?

Thanks in advance...
Shelly

As Control Source of an UNBOUND text control:
=[Field1] & chr(13) & chr(10) & [Field2]

Note.. the chr(13) and chr(10) must be in that order.
 
F

fredg

how do I do the same thing without the hard return. I want a space between [Field 1] and [Field 2]. I am sure this is as simple as pie, but I'm a brand new user. Thanks for the help!

fredg said:
I'm not sure this is the right place to post this, but
I'll give it a try...

I have a report and I want to concatenate two fields
together into one with a hard return between. In other
words in one control I want it to show this...

Field1 data
Field2 data

Can I do this? How would I put these together?

Thanks in advance...
Shelly

As Control Source of an UNBOUND text control:
=[Field1] & chr(13) & chr(10) & [Field2]

Note.. the chr(13) and chr(10) must be in that order.

=[Field1] & " " & [Field2]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top