MySQL int(1) => boolische Wert Access Client

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • MySQL int(1) => boolische Wert Access Client

    Hallo!

    MySQL kennt ja keine boolischen Werte.

    Problem:
    Ich habe einen Access Client der in der Datentabelle dirnged aus dem MySQL Backend. einen boolische Wert braucht

    Fällt euch irgend etwas ein, um aus der Mysql DB Frontend in Access einen boolischen Wert zu erhalten, nur durch Konfiguration in Access oder MySQL?

    Bin für jeden Tipp dankbar.
    Yuppi, endlich Elite ...

  • #2
    als wert 0 und 1 vielleicht?

    was ist mit ENUM als feldtyp?
    INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


    Kommentar


    • #3
      Hi Abraxax,

      ENUM funzt nicht

      Kundenanfrage:
      " Gibt es eine Möglichkeit, ein Feld in mySQL so anzulegen, dass es als Ja/Nein Feld bei Access ankommt? Auch ENUM brachte keinen Erfolg."
      1 und 0 werden als short int interpretiert.
      Yuppi, endlich Elite ...

      Kommentar


      • #4
        und ist das so schlimm mit dem shortint ?
        INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


        Kommentar


        • #5
          Die Software schluckt es nicht - Typeprüfung, Ready-Made!
          Yuppi, endlich Elite ...

          Kommentar


          • #6
            dann musst du dir was einfallen lassen!

            mein latein ist (im moment) am ende ....
            INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


            Kommentar


            • #7
              IMHO: -1 (true) und 0 (false)

              Kommentar


              • #8
                Hallo,

                vielleicht hilft dies hier:

                Posted by Dan Harding on May 21 2003 11:25am [Delete] [Edit]

                More on boolean data type:

                TINYINT (1) UNSIGNED works with VB.NET when attempting to share the same code with an OLE DB to an Access database and an ODBC connection to MySQL. The Enum property does not work in this situation. You would need separate Dataset definitions for each connection type if you used enum.
                Quelle: http://www-fr.mysql.com/doc/en/Other...umn_types.html

                nice day
                Quickborner

                Kommentar


                • #9
                  Hi!

                  @Quickborner
                  Super Link! Klasse!

                  @asp2php:
                  Korrekt wird auch als Comment erwähnt!

                  Vielen Dank!

                  cu

                  Blaster
                  Yuppi, endlich Elite ...

                  Kommentar

                  Lädt...
                  X