Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. help plz [modified]

help plz [modified]

Scheduled Pinned Locked Moved ASP.NET
databasehelpannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Devkranth Kishore Vanja
    wrote on last edited by
    #1

    i have an column check in access database which is of datatype yes/no i need to update the state ie.. uncheck the query below does not work it says error in update statment update tbladvance set check=false where ecode='1011' and type='festival' and check=true the above query executed in Ms-Access query works perfectly but not through the code help me :( -- modified at 4:47 Thursday 28th June, 2007

    Z M 2 Replies Last reply
    0
    • D Devkranth Kishore Vanja

      i have an column check in access database which is of datatype yes/no i need to update the state ie.. uncheck the query below does not work it says error in update statment update tbladvance set check=false where ecode='1011' and type='festival' and check=true the above query executed in Ms-Access query works perfectly but not through the code help me :( -- modified at 4:47 Thursday 28th June, 2007

      Z Offline
      Z Offline
      ZeedijkMike
      wrote on last edited by
      #2

      Without being an Access expert I do see something that looks a little odd in the code you posted. update tbladvance set check = false and where ecode = '1011' and type = 'festival' and check = true Should probably be: update tbladvance set check = false where ecode = '1011' and type = 'festival' and check = true So remove the 1st AND Regards,

      Mike

      D 1 Reply Last reply
      0
      • Z ZeedijkMike

        Without being an Access expert I do see something that looks a little odd in the code you posted. update tbladvance set check = false and where ecode = '1011' and type = 'festival' and check = true Should probably be: update tbladvance set check = false where ecode = '1011' and type = 'festival' and check = true So remove the 1st AND Regards,

        Mike

        D Offline
        D Offline
        Devkranth Kishore Vanja
        wrote on last edited by
        #3

        hi mike sorry!.. And is not there... query written by u is the same query i execute.. but it doesnt exectute at all

        1 Reply Last reply
        0
        • D Devkranth Kishore Vanja

          i have an column check in access database which is of datatype yes/no i need to update the state ie.. uncheck the query below does not work it says error in update statment update tbladvance set check=false where ecode='1011' and type='festival' and check=true the above query executed in Ms-Access query works perfectly but not through the code help me :( -- modified at 4:47 Thursday 28th June, 2007

          M Offline
          M Offline
          mohantfor net
          wrote on last edited by
          #4

          update tbladvance set check=false where ecode='1011' and type='festival' and check=true

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups