go to a new line.

R

Rpettis31

In my macro I have a message that displays
"Customer"&[name]*"has this issue:" &[issue]

I know in many languages \n will move to the next line but that does not work?
How do I get the issue on the next line.


tHanks
 
S

Steve Schapel

Rpettis,

I am surprised that this works at all without spaces in the appropriate
places, and I don't understand the * in there.

Anyway, try it like this:

"Customer " & [name] " has this issue:" & Chr(13) & Chr(10) & [issue]

By the way, as an aside, 'name' is a Reserved Word (i.e. has a special
meaning) in Access, and as such should not be used as the name of a
field or control.
 
D

Douglas J. Steele

Slight typo (an ampersand is missing after [name]):

"Customer " & [name] & " has this issue:" & Chr(13) & Chr(10) & [issue]


--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


Steve Schapel said:
Rpettis,

I am surprised that this works at all without spaces in the appropriate
places, and I don't understand the * in there.

Anyway, try it like this:

"Customer " & [name] " has this issue:" & Chr(13) & Chr(10) & [issue]

By the way, as an aside, 'name' is a Reserved Word (i.e. has a special
meaning) in Access, and as such should not be used as the name of a field
or control.

--
Steve Schapel, Microsoft Access MVP
In my macro I have a message that displays "Customer"&[name]*"has this
issue:" &[issue]

I know in many languages \n will move to the next line but that does not
work?
How do I get the issue on the next line.


tHanks
 

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