打开导航
在“数据库设置”对话框的导航窗格中,您可以创建基本筛选器,以使用“筛选器”节点选择将在打印时进行打印的记录。 通过这个基本筛选器,打印操作员不需要执行任何其他任务;当发送打印命令时,会自动应用该筛选器并仅显示那些满足筛选条件的记录。
创建筛选器
-
打开“数据库设置”对话框。
-
在导航窗格中,选择
“筛选器”以打开“筛选器”属性页。
-
在“筛选器”部分中,单击“And”以选择所需的条件连接符。 有关可用连接符的列表,请参见条件打印概述。
-
单击
以添加新的筛选条件。 Alternatively, use the Insert or Plus Sign (+) key on your keyboard to add the new condition.
-
Click the Database Field, and then select the field on which the filter criteria will be evaluated.
-
Click the Operator, and then select the operator that you want to use.
-
Click <enter a value>, and then select a value from the dropdown list on which to base your query. 或者,您可以在列表框中输入一个值。 You can now search by using just this filter condition, or you can add more conditions.
-
If you want to add another filter condition, click
, and then repeat steps 5-7. 这些筛选条件将通过您在步骤 3 中选择的条件连接符进行联接。 要删除筛选条件,请单击
。
-
在完成添加条件之后,单击“应用筛选器”查看结果。
您可以随时通过单击“清除筛选器”按钮来删除所有筛选条件并重新开始。
示例
用于在“城市”字段(等于“法戈”)中含有条目的数据库中搜索记录的单个筛选器可能与以下类似:
AND 
城市等于法戈 
联接筛选器将使用条件连接符,如“And”或“Or”。 用于在“省份”字段(等于“CA”)中含有条目且“年龄”字段中的值大于“35”的数据库中搜索记录的联接筛选器可能与以下类似:
AND 
省份等于 CA 
年龄大于 35 
返回所有记录的筛选器(其中“省份”是“WA”或“CA”)可能与以下类似:
或 
省份等于 WA 
省份等于 CA 
相关主题