Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VBScript line continuation aspx

Posted on 2010-09-07
5
Medium Priority
?
927 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

597 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