访问条件格式 - 添加文本而不是颜色?

发布于 2024-09-27 15:45:56 字数 127 浏览 0 评论 0原文

我有一份 Access 2003 报告,报告中的某些字段为 NULL。我可以使用条件格式来更改文本框控件的颜色和其他方面,但我想要做的是在没有数据(即 NULL)的字段中显示“XXXXXXXXXXXXXX”。可以使用条件格式来完成此操作吗?

I have an Access 2003 report and some of the fields within the report are NULL. I can use conditional formatting to change the color and other aspects of the text-box control but what I want to do is to display "XXXXXXXXXXXXXX" in fields where there is no data (i.e. NULL). Can this be done using conditional formatting?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清秋悲枫 2024-10-04 15:45:56

执行此操作的最佳位置是在报告应基于的查询中。但是,可以将报表中的控件设置为:

 =Nz(MyField,"Text")

您必须确保控件的名称不同于默认分配的名称(即字段的名称)。

The best place to do this is in the query which the report should be based on. However, it is possible to set a control in a report to, say:

 =Nz(MyField,"Text")

You will have to ensure that the control has a name other than the default assigned name, which is the name of the field.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文