在Access中取消记录 [英] Suppress records in Access

查看:72
本文介绍了在Access中取消记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我的5个货币列中的每一列都包含零,我想要抑制一行数据。以下是1条记录的示例:

I would like to suppress a row of data if each of my 5 currency columns contains a zero. An example of 1 record is below:

展开 | 选择 | Wrap | 行号

推荐答案

您可以在WHERE中使用字符串值子句如:
You could use a string value in your WHERE clause like :
展开 | 选择 | Wrap | 行号


更标准,基本,方法是检查每个字段之间的''AND'':
A more standard, basic, approach would be to check each field with an ''AND'' between each :
展开 | 选择 | Wrap | 行号


@NeoPa


只是出于好奇,NeoPa,因为第4列到第8列是CURRENCY数据类型,所以不会以下更有效和实用。我认为OP也希望抑制,而不是包括这些值:
@NeoPa
Just for curiosity, NeoPa, since Columns 4 thru 8 are the CURRENCY Data Type, wouldn''t the following be more efficient and practical. I think the OP wants to suppress, not include, those Values also:
展开 | 选择 | Wrap | 行号


这篇关于在Access中取消记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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