Appearance
Lesson 8-B: Combine Data Items
Lesson Goals: You are going to create a data item that combines Cars Make and Cars Model in a single data item.
To combine the data items into a single data item:
- Click Create.
- Enter Cars Make and Model as the Data Item Name.
- Enter Cars Make and Model as the Description. You must assign this item to a Data Item Group. Data Item Groups make it easier to find data items if there are many data items in your data dictionary.
- In the Data Item Group drop-down box, select Inventory.
- Click on the Edit button next to the Expression box to open the Expression Editor.
- Click on Cars Make in the Choose Item list in the left-hand side of the window.

- Select Remove trailing spaces from the Apply formatting drop-down box.
- Click Apply.
- Click Space.
- Click on Cars Model in the Choose Item list.
- Click Insert.
- Click OK. You will now be back to the Create New Data Item screen. The expression will be (Trim(CARS.MAKE))+" "+CARS.MODEL, which is the actual expression used by FoxPro.
- Enter "Make/" in Column Header 1.
- Enter "Model" in Column Header 2.
- Enter "Buick Century" in the box that says Sample. That will be the sample value displayed in the Design Preview window.
- Change the Column width to 25.
- Click OK. The new data item Cars Make and Model appear in the Selected Items List. Cars Make and Model will also appear on the Choose From list for any other Requests you create or modify.
- Click the Cancel icon on the Design Preview toolbar.
- Click No when asked if you want to save the changes you have made to this Request.
Topic identifiers and source notes
Original topic: _1TT14CTN7 · Help context: 52
Original filename: _1tt14ctn7.htm
Alternative source versions are retained for review. See this collection’s source notes.
Original page notices
Last Updated: 2/9/2007
