By choosing the Use an existing model you
can use an existing instance or data model either on your computer or shared
network directory to create the table.
To set up a table using an existing data model:
- In the Palette, click Table.
- Click on the canvas.
The Table Wizard opens.
- Click Use an existing model.
- Click Next.
- In the Instance column, click the parent
instance.
- Select the instance you want to use to control the data in the
table:
- To use an instance already being used in your form, in the Instance
column select the instance
- To use an instance saved on your computer or network, click Add
Instance and select the file. Then in the Instance column,
select the instance.
- In the Instance Data column, select the
instance data to use.
An XForms data instance defines the XML
template for the data that will be collected from the form.
- Click Next.
- In the Display Columns list, select a column
name listed.
- Set any of the following Details for each
column name:
- Header — Type the column name you want displayed
on the table.
- Width (pixels) — Set the width of the selected
column. The default is 100 pixels.
- Display type — Set the display to either Text
(Read/Write) or Text (Read).
- Display column header — Select or clear the check
box to display or hide the column header name.
- Show Border around column — Turn on or off the
borders. Default is on.
- Click Next.
- If required, set the general display and configuration settings.
- Click Finish.
The table,
using your selected data model is created and displayed on the form.