Creating a query form
To create a query form:
- In Design Mode, launch the [New Form Wizard] .
- In the first page of the wizard, select the [Create new form] option, and then click [Next].
-
In the next page, complete the following required fields:
- In the
[Name] field, perform
one of these actions:
- Type a unique name
for the new form.
Form names must be unique. The typical query form name consists of the parent form name appended with "Query".
- Select from the drop-down list the name of an existing form to use as the basis for the new form.
- Type a unique name
for the new form.
- From the [Form Type] drop-down list, select [Query].
- From the
[Data Source] drop-down
list, select an IDO to return the primary collection.
This must be the same IDO as the primary IDO collection used for the parent form or calling component.
- In the
[Name] field, perform
one of these actions:
-
Optionally, specify a default
[Device Type] and any
comments.
Comments are stored with the form definition and do not appear anywhere on the actual form.
- Click [Next].
- In the next page of the wizard ([Select Properties]), specify the properties of the IDO that are to be included in any possible query using this form.
- Click [Next].
-
In the next page of the wizard ([Properties]), you can specify:
- The order in which the
properties are listed
This affects the order in which properties display on the [Primary Criteria] tab and in the returned [Results].
- The captions for properties
- Whether each
properties' values are to be included:
- On the [Primary Criteria] tab
- On the [Additional Criteria] tab
- With the returned [Results] of a query
See 「New Form Wizard, Properties」.
- The order in which the
properties are listed
- Click [Next].
- To create a template from the new form, select [Save Form Definition Template].
- Click [Finish].
WinStudio displays the form in Runtime Mode.