Kodo step in :)

Discussion in 'Software' started by Wookie, Sep 7, 2004.

  1. Wookie

    Wookie Sergeant Major

    Code:
    
    SELECT CUST.ST_CD, CUST.FNAME, CUST.LNAME, CUST.CITY, CUST.CITY, CUST.ZIP_CD, CUST.ADDR1, CUST.ADDR2 FROM CUST WHERE CUST.CITY='" & Text1.Text & "'"
    
    
    
    Ok ive tried this with and without a semicolon and I keep getting error that SQL statement is not properly ended.


    AHHHH what am I doing wrong here. I could have sworn this worked before.
     
  2. Wookie

    Wookie Sergeant Major

    I fixed the double city selection. Still error

    oRs.Open sql, oCn, adOpenForwardOnly, adLockReadOnly

    thats my connection.
     
  3. Kodo

    Kodo SNATCHSQUATCH

    you put the semi colon after the '"&text.text1&"' ; " like that?
    otherwise,I don't see any problems
     
  4. Wookie

    Wookie Sergeant Major

    yeah :( this is bad. I don't understand why im getting that message.
     
  5. Kodo

    Kodo SNATCHSQUATCH


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds