开发者

How to make MS Access tick or check box work with MySQL or SQL

开发者 https://www.devze.com 2023-03-22 04:51 出处:网络
I am using MS Access 2007 as a front-end application, which links by ODBC with MySQL. The problem is that the Access form interprets tickbox as -1 for TRUE while MySql/Sql interprets 1 as TRUE. So ti

I am using MS Access 2007 as a front-end application, which links by ODBC with MySQL.

The problem is that the Access form interprets tickbox as -1 for TRUE while MySql/Sql interprets 1 as TRUE. So tick or check boxes do not work for TRUE state on Access forms.

If I write code behin开发者_JAVA技巧d (before update event) , then a single form should work with an ubound control (not linked to a data field), but on on the so-called "continuos form" when a control is unbound it will change its state when ticked not just on that record/row but on all rows.

Unless I can tell the Access form to change the tick-box true/false interpretation I am not sure how to use it on a continuous form.

Any solutions or hints?

0

精彩评论

暂无评论...
验证码 换一张
取 消