Form recognizing hard carriage return

G

Guest

I created table whereby certain fields are concatenated. Between the
concatenated fields, a hard carriage return was placed (e.g., vbCr).

When I place the results in a form, the carriage return is displayed as a
small square between the fields. Is it possible for the form to apply the
hard carriage return, thus stacking the fields?

Thank you.
 
D

Douglas J. Steele

Access needs both a Carriage Return (Chr$(13)) AND a Line Feed (Chr$(10)),
in that order.

In VBA, you can use vbCrLf instead to produce the same characters.
 
J

John W. Vinson

I created table whereby certain fields are concatenated. Between the
concatenated fields, a hard carriage return was placed (e.g., vbCr).

When I place the results in a form, the carriage return is displayed as a
small square between the fields. Is it possible for the form to apply the
hard carriage return, thus stacking the fields?

Thank you.

Use vbCrLf instead of vbCr. You may need to run an update query updating
Chr(13) to

Chr(13) & Chr(10)


John W. Vinson [MVP]
 

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