?
Solved

VBScript line continuation aspx

Posted on 2010-09-07
5
Medium Priority
?
925 Views
Last Modified: 2012-05-10
How do I continue on to another line in VBScript

I'm moving from a asp to a aspx page

I have a sql call that goes over multiple lines and to continue each line I did this

call = "code" & _
           "code" & _
           "code"

What is the correct way to do it as part of a aspx page?

0
Comment
Question by:darren-w-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 13

Author Comment

by:darren-w-
ID: 33617973
actually is there a better cleaner way to do this? as this syntax does work?
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 1000 total points
ID: 33618028
About the only other way that isn't cleaner but can be easire to maintain is:

call = "code"
call = call & "code"
call = call & "code"

cHRIS
0
 
LVL 13

Author Comment

by:darren-w-
ID: 33618168
I tried abbreviating it to

call = call & "code"
call +=  "code"

And that seems to work?
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 33618221
I tend to avoid those constructs as they are not generally easy for all to read, but if it works in your install and you're happy with the construct then of course ...

Chris
0
 
LVL 13

Author Closing Comment

by:darren-w-
ID: 33618623
Thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question