Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Continuation on line of code into next line
Old 11-24-2004, 03:27 PM Continuation on line of code into next line
barbara's Avatar
Skilled Talker

Posts: 79
Trades: 0
i want to split my sql statement into 2 lines(right before "values", what is the syntax for it?
i try : sql = "insert into tbl1 ( )spaceunderscore
values ()

it didn't like it.

eg.

sql = "insert into tbl1 () values ()"

thanks
barbara is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-24-2004, 06:04 PM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
sql = "insert into tbl1 ( )" & vbCrLf
sql = sql & "values ()"

I never use the line splitting thing, but I think you could also use:

sql = "insert into tbl1 ( )" _
& "values ()"
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 11-24-2004, 08:33 PM
ACW
Average Talker

Posts: 26
Trades: 0
Code:
sql = "insert into tbl1 ( )" & _
     " values ()"
__________________

Please login or register to view this content. Registration is FREE
by Geo Redundant Hosting
ACW is offline
Reply With Quote
View Public Profile
 
Old 11-30-2004, 12:05 PM
barbara's Avatar
Skilled Talker

Posts: 79
Trades: 0
thanks a bunch
barbara is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Continuation on line of code into next line
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12888 seconds with 12 queries