“查询提示”对话框 |
使用“查询提示”对话框可以创建和配置查询提示,查询提示允许用户在打印时输入条件,该条件用于在数据库中查询与打印作业一起使用的记录。 可以通过单击“数据库设置”对话框的“筛选器”属性页上的“查询提示”来访问该对话框。
查询提示列表
查询提示列表显示了当前为数据库定义的所有查询提示。 要修改列表中的查询提示,请将其选中,然后使用位于列表下方的以下图标。
|
这些命令中的每一个都可以在查询提示的上下文菜单中找到。 |
在列表中插入新的查询提示。
删除所选查询提示。
将剪贴板中当前查询提示的副本粘贴到列表中。
将所选查询提示在列表中的位置上移一位。
将所选查询提示在列表中的位置下移一位。
查询提示选项
您可以修改当前在查询提示列表中选择的查询提示的属性。
|
仅当您未计划将查询提示与数据输入表单上的数据输入控件相关联时,才有必要指定查询提示选项。 否则,当您将查询提示与数据输入控件相关联时,会使用控件的属性页设置选项。 |
名称: 定义查询提示的名称。
文本标签: 定义将在打印时显示在响应框旁边的标签,以便提示用户输入所需值。
默认值: 定义在打印作业开始时最初显示在响应框中的值。
数据输入选项
启用自动完成:
打印后更新默认值(影响所有用户): When this option is enabled, it updates the default value for the reply box after each print job with the most recent value used for the query prompt.
只读: When this option is enabled, it marks the query prompt as read-only, so that the print operator is unable to enter a value in the reply box. 使用此选项时,默认值将用于查询提示。
更多选项: 打开“更多查询提示选项”对话框,在其中可以配置数据转换,以强制对用户输入的查询条件值进行数据验证。
焦点行为
按 Enter 键: 启用此选项后,会指定为按 ENTER 键时光标将移到下一个响应框内。
箭头键将光标移动到数据开始或结束之外: When this option is enabled, it specifies that the cursor will move when arrow keys are used to move it.
达到最大字符数: When this option is enabled, it specifies that the cursor will move to the next reply box when the user enters the maximum number of characters into the current reply box.
通过条形码扫描仪插入数据: When this option is enabled, it moves the cursor to the next reply box when data for the current reply box is inserted using a barcode scanner.
从 Tab 键顺序中排除控件: When this option is enabled, it skips the query prompt control when a user tabs between multiple reply boxes on the form.
相关主题