Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continue Line of Code onto Next Line

Status
Not open for further replies.

jaybird19

Programmer
Jan 16, 2009
7
US
Hi there,

How do you continue a line of conde onto the next line. I have a very long line of code, i would like to break it into a few lines. I am using the VB editor in Access 2003.

Thanks,
Jayme
 
You would add an underscore to the end of the line then carry on to the next e.g. (I've not got a long line of code example handy so here's a short one [wink]):
Code:
For _
i = 1 _
To 50
    List0.AddItem i
Next i
Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Thanks so much! I knew it was something simple... But I couldn't find it anywhere in Microsoft's Help system :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top