List Items Property Page |
The List Items property page is available for radio button list, list box, and dropdown list controls. This page specifies the list of items that a print operator can choose from to select a value for the control.
In many cases, but depending on the control that you are configuring and the source that you have selected, the default condition is that the item value that is printed on an item is the same as the display text. In most cases, you can optionally specify a different value for the item value or the display text.
The following options are available.
Source: Specifies the source that you want to use for the list of choices.
Use the Embedded Data source to manually enter the items that you want to appear in the list and each item's corresponding value that you want printed to a linked template object when the item is selected at print time. The options that are available vary depending on what kind of data entry control you are configuring.
The options for configuring Embedded Data list items for a dropdown list control vary depending on the dropdown list control type.
The following options are available:
Use display text for item value: Specifies that the Item Value value for each selection in the list (the value that appears on your printed items) is the same as the Display Text value. If you click to clear this check box, you can enter a different value to appear on your printed item.
Display Text: Each value in the Display Text column specifies a value that is displayed on the control. To enter a new Display Text value for the list, click a blank row, and then enter the value that you want. To edit an existing value, click the cell that contains the value that you want to edit, and then enter the new value.
Item Value: Each value in the Item Value column specifies the value that is printed on the template when the print operator selects its corresponding Display Text value at print time. When you want to create or edit the Item Value value separately from its corresponding Display Text value, click to clear the Use display text for item value check box. After the check box is cleared, enter new values or edit existing values by using the same methods that you use for the Display Text values.
You can sort the list items in ascending or descending order based on either the Display Text value or the Item Value value. To do this, click the column header of the column that you want to sort by. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following options are available:
Edit Data: Opens the Embedded Data Table Editor, which you can use to manually create the control's list items. For more information, refer to Using the Embedded Data Table Editor.
Fields: Displays the fields and values that were created by using the Embedded Data Table Editor. To modify the fields and values, click Edit Data to open the Embedded Data Table Editor.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The options for configuring Embedded Data list items for a list box control vary depending on the list box control type.
The following options are available:
Use display text for item value: Specifies that the Item Value value for each selection in the list (the value that appears on your printed items) is the same as the Display Text value. If you click to clear this check box, you can enter a different value to appear on your printed item.
Display Text: Each value in the Display Text column specifies a value that is displayed on the control. To enter a new Display Text value for the list, click a blank row, and then enter the value that you want. To edit an existing value, click the cell that contains the value that you want to edit, and then enter the new value.
Item Value: Each value in the Item Value column specifies the value that is printed on the template when the print operator selects its corresponding Display Text value at print time. When you want to create or edit the Item Value value separately from its corresponding Display Text value, click to clear the Use display text for item value check box. After the check box is cleared, enter new values or edit existing values by using the same methods that you use for the Display Text values.
You can sort the list items in ascending or descending order based on either the Display Text value or the Item Value value. To do this, click the column header of the column that you want to sort by. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following options are available:
Edit Data: Opens the Embedded Data Table Editor, which you can use to manually create the control's list items. For simple and custom cards, each list item represents a single card. For more information, refer to Using the Embedded Data Table Editor.
Fields: Displays the fields and values that were created by using the Embedded Data Table Editor. To modify the fields and values, click Edit Data to open the Embedded Data Table Editor.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The following options are available:
Use display text for item value: Specifies that the Item Value value for each selection in the list (the value that appears on your printed items) is the same as the Display Text value. If you click to clear this check box, you can enter a different value to appear on your printed item.
Display Text: Each value in the Display Text column specifies a value that is displayed on the control. To enter a new Display Text value for the list, click a blank row, and then enter the value that you want. To edit an existing value, click the cell that contains the value that you want to edit, and then enter the new value.
Item Value: Each value in the Item Value column specifies the value that is printed on the template when the print operator selects its corresponding Display Text value at print time. When you want to create or edit the Item Value value separately from its corresponding Display Text value, click to clear the Use display text for item value check box. After the check box is cleared, enter new values or edit existing values by using the same methods that you use for the Display Text values.
You can sort the list items in ascending or descending order based on either the Display Text value or the Item Value value. To do this, click the column header of the column that you want to sort by. The order that is displayed on the property page is the order that is displayed on the data entry form.
The Database source populates the list items from a connected database, such as a text file, Microsoft Excel spreadsheet, or other data file.
|
The database connection for the list items is completely independent of the database connection that populates data on your template. Even if you have already connected to a database in your document, you need to rerun the Database Setup wizard to connect to a new database (or to the same one). |
The options that are available vary depending on what kind of data entry control you are configuring.
The options for configuring Database list items for a dropdown list control vary depending on the dropdown list control type.
The following options are available:
Database Setup: Opens the Database Setup dialog, where you can connect to the database that you want to use to populate the list items.
Use display text for item value: Specifies that the Item Value value for each selection in the list (the value that appears on your printed items) is the same as the Display Text value. If you click to clear this check box, you can specify that the Item Value values are populated by a different field from the database, so that a different value is printed on your item.
Display Text Field: Specifies the database field that populates the Display Text values.
Item Value Field: Specifies the database field that populates the Item Value values. Available when Use display text for item value is not selected.
Sort items: Sorts the list items in ascending order based on the Display Text values. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following options are available:
Database Setup: Opens the Database Setup dialog, where you can connect to the database that you want to use to populate the list items.
Fields: Provides a read-only view of the database fields.
You can sort the list items in ascending or descending order, based on any one of the database fields. To do this, click the column header of the database field that you want to sort by. The order that is displayed on the property page is the order that is displayed on the data entry form.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The options for configuring Database list items for a list box control vary depending on the list box control type.
The following options are available:
Database Setup: Opens the Database Setup dialog, where you can connect to the database that you want to use to populate the list items.
Use display text for item value: Specifies that the Item Value value for each selection in the list (the value that appears on your printed items) is the same as the Display Text value. If you click to clear this check box, you can specify that the Item Value values are populated by a different field from the database, so that a different value is printed on your item.
Display Text Field: Specifies the database field that populates the Display Text values.
Item Value Field: Specifies the database field that populates the Item Value values. Available when Use display text for item value is not selected.
Sort items: Sorts the list items in ascending order based on the Display Text values. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following options are available:
Database Setup: Opens the Database Setup dialog, where you can connect to the database that you want to use to populate the list items. For simple and custom cards, each list item represents a single card.
Fields: Provides a read-only view of the database fields.
You can sort the list items in ascending or descending order, based on any one of the database fields. To do this, click the column header of the database field that you want to sort by. The order that is displayed on the property page is the order that is displayed on the data entry form.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The following options are available:
Database Setup: Opens the Database Setup dialog, where you can connect to the database that you want to use to populate the list items.
Use display text for item value: Specifies that the Item Value value for each selection in the list (the value that appears on your printed items) is the same as the Display Text value. If you click to clear this check box, you can specify that the Item Value values are populated by a different field from the database, so that a different value is printed on your item.
Display Text Field: Specifies the database field that populates the Display Text values.
Item Value Field: Specifies the database field that populates the Item Value values. Available when Use display text for item value is not selected.
Sort items: Sorts the list items in ascending order based on the Display Text values. The order that is displayed on the property page is the order that is displayed on the data entry form.
|
This source option is available for radio button list controls and for dropdown list and list box controls whose type is Single Column. |
The External File source populates the list items from a file that is located on your computer.
The following options are available when you select External File as the source:
File Name: Specifies the file that is used to populate the list items. Click Select File to browse to the file that you want.
Encoding: Specifies the encoding that you want to use with the selected file.
Sort items: Sorts the list items in ascending order based on the values that are included for the Display Text. The order that is displayed on the property page is the order that is displayed on the data entry form.
|
This source option is available for radio button list controls and for dropdown list controls and list box controls whose type is Single Column. |
The File Names in Folder source populates the list items with file names from a specified folder on your computer or network.
The following options are available:
Folder: Specifies the folder that you selected to populate the list items. Click Select to browse to the folder that you want.
File Pattern: Specifies the file type to filter by within the specified folder. For example, for a folder that contains many different types of files, enter *.xlsx for the File Pattern to populate the list items with the file names for only the Excel files in the specified directory.
Show file extension: Specifies that the file name extension is included with the file names for both the Display Text and Item Value values.
Use full path for item value: Specifies that the full path is included with the file names for the Item Value values.
|
This option is available for dropdown list controls whose type is Multiple Columns and list box controls whose type is Multiple Columns, Simple Cards, or Custom Cards. |
The Files in Folder source populates the list items with file information from a specified folder on your computer or network.
The following options are available:
Folder: Specifies the folder that is used to populate the list items. Click Select to browse to the folder that you want.
File Pattern: Specifies the file type to filter by within the specified folder. For example, in a folder that contains many different types of files, enter *.xlsx for the File Pattern to populate the list items with the file information for only the Excel files in the specified directory.
Show file extension: Specifies that the file name extension is included with the file names.
Use full path for file name: Specifies that the full path is included with the file names.
Fields: Specifies column headers that correspond to the file metadata (such as created date, last modified date, and size). To add or delete column headers, click to view a list of available options, and then click to select or clear the check box for the options that you want.
Use the Visual Basic Script source to write a custom Visual Basic Script (VBScript) to populate the list items. Use a carriage return (vbCr) to separate multiple list items.
The options that are available vary depending on what kind of data entry control you are configuring.
The options for configuring Visual Basic list items for a dropdown list control vary depending on the dropdown list control type.
The following options are available:
Edit Script: Opens the Visual Basic Script Editor so that you can write and modify your script.
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following options are available:
Edit Script: Opens the Visual Basic Script Editor so that you can write and modify your script.
Fields: Provides a read-only view of the database fields.
The options for configuring Visual Basic list items for a list box control vary depending on the list box control type.
The following options are available:
Edit Script: Opens the Visual Basic Script Editor so that you can write and modify your script.
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following options are available:
Edit Script: Opens the Visual Basic Script Editor so that you can write and modify your script.
Fields: Provides a read-only view of the database fields.
The following options are available:
Edit Script: Opens the Visual Basic Script Editor so that you can write and modify your script.
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
When you write your script, use a carriage return (vbCr) to separate each Display Text and Item Value pair in the list from the next. Use a tab character (vbTab) to separate the Display Text and Item Value within each pair.
In the following example, you are selling three products: an orange that costs $0.50, a banana that costs $0.65, and a muffin that costs $1.00. You want the data entry form to display the three products in a dropdown list. On the printed items, you want to print only the price. To populate the list, enter the following VBScript in the Script Editor:
Value = "Orange" + vbTab + "0.5" + vbCr + "Banana" + vbTab + "0.65" + vbCr + "Muffin" + vbTab + "1"
This populates the list control as follows.
Display Text |
Item Value |
---|---|
Orange |
0.5 |
Banana |
0.65 |
Muffin |
1 |
If you want the Display Text and Item Value to be the same, you can enter the same value for each pair, as follows:
Value = "Orange" + vbTab + "Orange" + vbCr + "Banana" + vbTab + "Banana" + vbCr + "Muffin" + vbTab + "Muffin"
Alternatively, you can leave out the Item Value definition, as follows:
Value = "Orange" + vbCr + "Banana" + vbCr + "Muffin"
Either of these scripts populates the list control as follows.
Display Text |
Item Value |
---|---|
Orange |
Orange |
Banana |
Banana |
Muffin |
Muffin |
Use the Printers source to populate the list items with information about the available printers.
The options that are available vary depending on what kind of data entry control you are configuring.
The options for configuring Printers list items for a dropdown list control vary depending on the dropdown list control type.
The following option is available:
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following option is available:
Fields: Specifies column headers that correspond to the printer metadata (such as name, port, location, and server name). To add or delete column headers, click to view a list of available options, and then click to select or clear the check box for the options that you want.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The options for configuring Printers list items for a list box control vary depending on the list box control type.
The following option is available:
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following option is available:
Fields: Specifies column headers that correspond to the printer metadata (such as name, port, location, and server name). To add or delete column headers, click to view a list of available options, and then click to select or clear the check box for the options that you want.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The following option is available:
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
When you have a query prompt that is linked to the data entry control, the Query Prompt Values source populates the list items based on the records that match the query prompt. You can configure a query prompt in the Filter view of the Database Setup dialog.
|
The Query Prompt Values source is available only after you have created a query prompt and linked it to the control. For more information about how to create a query prompt and link it to a data entry form control, refer to Adding a Query Prompt to the Form. |
The options that are available vary depending on what kind of data entry control you are configuring.
The options for configuring Query Prompt Values list items for a dropdown list control vary depending on the dropdown list control type.
The following option is available:
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following option is available:
Fields: Specifies column headers that correspond to the file metadata. To add or delete column headers, click to view a list of available options, and then click to select or clear the check box for the options that you want.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The options for configuring Query Prompt Values list items for a list box control vary depending on the list box control type.
The following option is available:
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
The following option is available:
Fields: Specifies column headers that correspond to the file metadata. To add or delete column headers, click to view a list of available options, and then click to select or clear the check box for the options that you want.
|
When you do not want a specific field to be displayed in the control, use the Columns property page to set that column's Visible property to No. |
When you want a field's value to appear on your printed items, use the control's Linked Data Source property page to link the field to a data source. |
The following option is available:
Sort items: Sorts the lists in ascending order based on the values that are included for the Display Text list. The order that is displayed on the property page is the order that is displayed on the data entry form.
This property page is available for the following controls: