Why is “Yes” a value of -1 in MS Access database?

前端 未结 2 1582
自闭症患者
自闭症患者 2021-02-03 17:40

I\'m looking at linked data in MS Access.

The \"Yes/No\" fields contain the value -1 for YES and 0 for NO. Can someone explain why such a counter-intuitive value is used

2条回答
  •  走了就别回头了
    2021-02-03 18:05

    "Yes" is -1 because it isn't anything else.

    When dealing with Microsoft products, especially one as old as Access, don't assume that there is a good reason for any design choice.

提交回复
热议问题