Other Using the Editor

Pelky

Active Member
Licensed User
Longtime User
I am sorry to bother you all with this but I am at a loss. I have seen how to do this somewhere but cant find it ...

I am defining an SQL database and the definition is very long. I want to be able to continue the description onto the next line for
ease of viewing. It extends way beyond the screen width.
There is a char(s) that you use?

Please help
 
Use SmartStringLiteral
B4X: Copy
dim s as string = $"Very log string or sql-definition
going over
several
lines."$

 
Upvote 2
I did try that but it came up with errors. -- how would you split the following line?

DB.ExecNonQuery2("INSERT INTO Booking values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As String(Booth, BookingsDate, TimeOfDay, Visitor, VisitorOccupation, Company, Contact, Email, Inmate, Cell, Nomis, TypeOfBooking, BookedBy, TimeIn, TimeOut, S40E, DatesBooked))

trying to read lines this long are a problem
 
Upvote 0
B4X: Copy
DB.ExecNonQuery2("INSERT INTO Booking values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", _
Array As String(Booth, BookingsDate, TimeOfDay, Visitor, VisitorOccupation, Company, _
Contact, Email, Inmate, Cell, Nomis, TypeOfBooking, BookedBy, TimeIn, TimeOut, S40E, _
DatesBooked))
 
Upvote 1
Back
Top