Skip to content

User Help

Creating a New Data Item


Sometimes you'll need to create data items when existing data items don't provide the information you need. For example, suppose you wanted to create a data item that displays the model and make of a car as one data item instead of two separate data items.

There are two types of data items:

  • Real data items. These are actual fields in the database file created by an administrator or developer. To make these data items available within Foxfire!, they must be added to the Foxfire! Data Dictionary.

  • Foxfire! data items. These are computed fields in the database file that you create in Foxfire! They will not affect your real data and are not useable anywhere outside of Foxfire! When you create a Foxfire! data item, its definition is stored in the Foxfire! Data Dictionary.


To create a new Foxfire! data item:

  1. Go to the Select Data Items tab of the Workbench window. How do I get to this tab?

  2. Click Create. The Create New Data Items window appears.

  3. Fill in the Data Item Name box. This name will be used to identify your data item and will appear in the Choose From list.

  4. Fill in the Description box.

  5. Choose a Data Item group from the drop-down box at the right. Your new data item will be added to this group and will appear in the Choose From List.

  6. Click Edit to create an expression for your data item using the Expression Editor.

    Note: The Expression Editor is available throughout Foxfire! whenever you need to build an expression. With your cursor in the expression field, just press the F2 key. Once you become familiar with creating expressions, you can type them in directly without using the Expression Editor.

  7. Choose a data type from the drop-down box. Depending on your expression, the type is determined automatically, but you can override it and select your own.

  8. Specify the text that you want to appear in the column heading by filling in the Column Header 1 and 2 boxes. Note that 1 and 2 refer to the first and second lines of the heading. You can choose the alignment of the text for both lines of the header.

  9. (Optional) Fill in the Sample box with text that will appear in the Design Preview window so you can see what your output will look like.

  10. (Optional) Specify a Column Width. It's calculated automatically but you can make it wider or narrower if you desire.

  11. (Optional) Add formatting to your data item by inserting one of the special formatting characters in the Format style box. For example, to display a number as currency you would insert @$.

  12. (Optional) If the data item is a number, specify the summary calculation that will be performed when the group changes in the Default Summary Calculation drop-down box. You could sum the values for the data item, average the values, count the number of items or choose from several other options, or specify no summary calculation at all.

  13. (Optional) Choose one of the Include in Filter settings from the drop-down box, to display this data item in the Choose From List in the Filter Results tab.



    See also

    Deleting Data Items

Topic identifiers and source notes

Original topic: _1YS10BZPR · Help context: 276

Original filename: _1ys10bzpr.htm

Alternative source versions are retained for review. See this collection’s source notes.

Original page notices

Last Updated: 4/4/2007

Foxfire! product documentation · Legacy source notices are preserved in each topic.