Off-Topic Visual Basic Carriage Return on text outp ut?

In Visual Basic you can also use vbCrLf (visual basic carriage return line
feed):

If Rough is your text field:

Rough = "N13659" & vbCrLf & "H3583" & vbCrLf & "G4837Y"

Chris

-----Original Message-----
From: sarah.vareschi@... [mailto:sarah.vareschi@...]
Sent: Wednesday, March 21, 2001 2:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Off-Topic Visual Basic Carriage Return on text
output?



I know this is really far off-topic, but I am still hoping one of the
programming guru's on this list will be able to help me. I am trying to
return text from an if, then statement in visual basic and I need to test to
be multiple lines long. For example, If Orbit > .0143 then Rough = "N13659"
[carriage Return] "H3583" [Carriage return] "G4837Y"

So the output I would be lines of text as follows:

N13659
H3583
G4837Y

I cannot figure out how to put a carriage return in there. Does anybody
know?

Thanks so much for any feedback.

-Sarah


To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please go to:
http://groups.yahoo.com/group/vantage/files/. Note: You must have already
linked your email address to a yahoo id to enable access.

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Thanks so much Jim, Gary, Joe, that worked!!!

FYI: It ended up working as: If (Overburn <= 0.0143) Then RoughProgram =
("N8135" + Chr(13) + Chr(10) + "TN23847")

Thanks so much, I had been looking for this for over an hour, and probably
would have kept looking for who knows how long!