PDA

Click to See Complete Forum and Search --> : How do I skip a line


boo
Dec 3rd, 1999, 05:45 AM
In code for a label, how do i skip a line through the code. I want "Whatever" & Skip Line & "DASKSDJLA"

chrisfricke
Dec 3rd, 1999, 05:49 PM
If you're trying to print a label (which I think you are) you can either print the first bit, print a blank line and then print the last bit or have the string as "FIRSTBIT" & chr(13) & chr(13) & "LAST BIT".

Chr(13) is a carridge return and doesn't work on everything
Chris

Dec 3rd, 1999, 07:36 PM
try

"Firstbit" & VBCRLF & VBCRLF & "Lastbit"

------------------

Wossname,
Email me: wossnamex@talk21.com :)

LG
Dec 4th, 1999, 11:24 AM
If You need to skeep some part of the line based on some conditions, then I would use:

str= iif(Condition1,"someting","") & _
iif(condition2,"anyting'"") ... and so on