Android Question I have 2 questions...

Discussion in 'Android Questions' started by Lary Yenta, Feb 23, 2015.

  1. Lary Yenta

    Lary Yenta Member Licensed User

    Hey all,

    First one, and I KNOW I am going to be embarrassed by this one, is there a specific place where we position the "_" to continue our line? My understanding is that it can be placed anywhere? I ask because I tried using it this past weekend and had no luck at all getting it to work.

    Second question, does anyone have a really simple example of a database with 2 (or more) Tables? I am just curious because I tried that this weekend with no luck at all. I was trying it with an SQLite database.

    Thanks in advance,

    Lary
     
  2. thedesolatesoul

    thedesolatesoul Expert Licensed User

    At the end of a word with a space + _.
    For e.g.
    Code:
    if (a = 1 _
         
    AND b = 2) _
        
    Then
     
    walterf25 and NJDude like this.
  3. walterf25

    walterf25 Well-Known Member Licensed User

    Number one: yes you can place the "_" underscore symbol anywhere in your string, but it needs to be placed after the "&" symbol
    for example "SELECT column1, column2, column3, column4" & _
    ", column5, column6, column7 FROM table1"

    For Number Two, do a search in the forums you will find plenty of examples for SQLite.

    Cheers,
    Walter
     
    NJDude and thedesolatesoul like this.
  4. Lary Yenta

    Lary Yenta Member Licensed User

    Thank you gentlemen!!!

    much appreciated!

    Lary
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice