locked
update statement not working RRS feed

  • Question

  • Hello all,
    urgent help needed ..
    i am trying to create a sql update statement buts its not working.. following is the error which i get

    updatetemp="update emp set week='"+week+"' where id='"+uid+"'"
    TypeError: cannot concatenate 'str' and 'int' objects

    please note that uid is the autonumber in access database.

    thanks
    Friday, May 9, 2014 9:22 AM