Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,468
    Provided Answers: 10

    Unanswered: What am I missing

    I have this

    SQLA = UPDATE openclose SET SDSTID = 15907 WHERE SDSTID=15277 ;

    and

    SQLB = "UPDATE SDSTNotes SET SDSTID=15907 where SDSTID=15277;"


    51. My_Conn.execute SQLA works

    but
    52. My_Conn.execute SQLB does not

    I get this error

    Microsoft OLE DB Provider for SQL Server error '80040e0c'

    Command text was not set for the command object.

    /Cleanupdate.asp, line 52

    Have check the database and can see the Chnages from SQLA

    I can paste it into sql and it works

    have I posted this in the wrong place
    Last edited by myle; 03-22-11 at 07:44. Reason: spelling
    hope this help

    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
    DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
    THEY'RE BEHIND YOU FOR A REASON

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,468
    Provided Answers: 10
    Stop Looking Found it I had about line line 40 I had SQLB=""

    Look like I buying next round at bar
    hope this help

    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
    DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
    THEY'RE BEHIND YOU FOR A REASON

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •