如果是/否字段的陈述 [英] If statements for Yes/No fields

查看:77
本文介绍了如果是/否字段的陈述的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

我使用Access相对较新,而且我有一件特别的事情我无法工作:


我有一张名为tbl_visits并且在该表内是signed_out的字段,其是是/否(布尔)字段。基本上,在表单内,当按下按钮时,数据库需要返回signed_out按钮。字段是或否,并采取适当的行动。当前代码:

Hi.
I''m relatively new to using Access, and I have a specific thing I can''t get to work:

I have a table called tbl_visits and within that table a field for "signed_out", which is a yes/no (boolean) field. Basically, from within a form, when a button is pressed, the database needs to return whether the "signed_out" field is yes or no and take appropriate action. Current code:

展开 | 选择 | Wrap | 行号

推荐答案


嗨。

我使用Access相对较新,而且我有一件特别的事情我无法工作:


我有一张名为tbl_visits并且在该表内是signed_out的字段,其是是/否(布尔)字段。基本上,在表单内,当按下按钮时,数据库需要返回signed_out按钮。字段是或否,并采取适当的行动。当前代码:

Hi.
I''m relatively new to using Access, and I have a specific thing I can''t get to work:

I have a table called tbl_visits and within that table a field for "signed_out", which is a yes/no (boolean) field. Basically, from within a form, when a button is pressed, the database needs to return whether the "signed_out" field is yes or no and take appropriate action. Current code:


展开 | 选择 | Wrap | 行号


感谢您的快速回复。


它需要链接到一个表而不是表单,所以我将代码更改为:

Thanks for your quick reply.

It needs to link to a table not a form, so i changed the code to:

展开 | 选择 | Wrap | 行号



感谢您的快速回复。


它需要链接到一张桌子而不是一个表单,所以我将代码更改为:

Thanks for your quick reply.

It needs to link to a table not a form, so i changed the code to:

展开 | 选择 | Wrap | 行号


这篇关于如果是/否字段的陈述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆