Set vbCrLf in unbound text box

G

gr

Hi, I have an unbound textbox in my report. The control
source is set to: =IIf([RegisterNumber]=10;[DocName];" ")
The problem is that there might be more than one DocName
which RegisterNumber equals 10. Then, the when previewing
the report the document names for Register 10 are one over
the other being all unreadable. How should I set the
control source in order to display or documents name for
Registry 10 just behind one of the other?

thx,
gr
 
D

Douglas J. Steele

It's Chr(13) & Chr(10). It must be in that order to work.

--
Doug Steele, Microsoft Access MVP

(No private e-mails, please)



Rover said:
Have you tried =IIf([RegisterNumber]=10;[DocName]& chr(10) & chr(13);" ")
Hi, I have an unbound textbox in my report. The control
source is set to: =IIf([RegisterNumber]=10;[DocName];" ")
The problem is that there might be more than one DocName
which RegisterNumber equals 10. Then, the when previewing
the report the document names for Register 10 are one over
the other being all unreadable. How should I set the
control source in order to display or documents name for
Registry 10 just behind one of the other?

thx,
gr
 

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