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. General Programming
  3. Windows Forms
  4. yes/no

yes/no

Scheduled Pinned Locked Moved Windows Forms
helpquestion
9 Posts 5 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.
  • T Offline
    T Offline
    tantoun
    wrote on last edited by
    #1

    can anybody tell me how can i insert into a column in microsoft access that have a yes/no datatype plz help me regards

    etretyertyery

    S C 2 Replies Last reply
    0
    • T tantoun

      can anybody tell me how can i insert into a column in microsoft access that have a yes/no datatype plz help me regards

      etretyertyery

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      It just remember my college days. Now and all i am not using MS-Access we are using Oracle and SQL SERVER 2000/2005. For more Details about MS-Access Get it[^]

      Regards, Satips.:rose:

      1 Reply Last reply
      0
      • T tantoun

        can anybody tell me how can i insert into a column in microsoft access that have a yes/no datatype plz help me regards

        etretyertyery

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        I presume that yes/no would map to a boolean data type.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        T B 2 Replies Last reply
        0
        • C Christian Graus

          I presume that yes/no would map to a boolean data type.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          T Offline
          T Offline
          tantoun
          wrote on last edited by
          #4

          their is a sample query that i use: update tblClient set exist='no' !!!! but their is something wrong in this query because it can't update the following record that have a yes/no datatype. please if we have something to do in access or something in my code so plz help me????? thanks

          etretyertyery

          P C 2 Replies Last reply
          0
          • T tantoun

            their is a sample query that i use: update tblClient set exist='no' !!!! but their is something wrong in this query because it can't update the following record that have a yes/no datatype. please if we have something to do in access or something in my code so plz help me????? thanks

            etretyertyery

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            I would suspect from your example there that the problem is the quotes around 'no'. This implies that it is a string type. Replace this with false instead.

            Deja View - the feeling that you've seen this post before.

            T 1 Reply Last reply
            0
            • P Pete OHanlon

              I would suspect from your example there that the problem is the quotes around 'no'. This implies that it is a string type. Replace this with false instead.

              Deja View - the feeling that you've seen this post before.

              T Offline
              T Offline
              tantoun
              wrote on last edited by
              #6

              hey this is not the problem, i still have the problem plz i need that any help bye

              etretyertyery

              1 Reply Last reply
              0
              • C Christian Graus

                I presume that yes/no would map to a boolean data type.

                Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                B Offline
                B Offline
                Brady Kelly
                wrote on last edited by
                #7

                Access doesn't like complicated terms like boolean. It actually calls the field type Yes/No.

                C 1 Reply Last reply
                0
                • T tantoun

                  their is a sample query that i use: update tblClient set exist='no' !!!! but their is something wrong in this query because it can't update the following record that have a yes/no datatype. please if we have something to do in access or something in my code so plz help me????? thanks

                  etretyertyery

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #8

                  tantoun wrote:

                  set exist='no'

                  'no' is a string. This isn't going to work, as someone else said. It's almost certainly the case that you need to use a boolean to set it. I googled, and found this[^] within seconds. We were right, you set it using the boolean type.

                  Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  1 Reply Last reply
                  0
                  • B Brady Kelly

                    Access doesn't like complicated terms like boolean. It actually calls the field type Yes/No.

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #9

                    Yeah, I guessed that was the case. I don't use Access, except to drive my CD database, and even then, it uses SQL Server on the back end.

                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                    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