diff --git a/helpcontent2/source/text/shared/02/01170203.xhp b/helpcontent2/source/text/shared/02/01170203.xhp index 56913363ae..c4f59fc2ab 100644 --- a/helpcontent2/source/text/shared/02/01170203.xhp +++ b/helpcontent2/source/text/shared/02/01170203.xhp @@ -1,14 +1,15 @@ + - - + + + Data /text/shared/02/01170203.xhp - -Sun Microsystems, Inc. -UFI: fixed #i25661# -YJ: checked -
@@ -62,54 +59,45 @@ YJ: checked
- -Data sourceUFI: was Database +Data sourceUFI: was Database Defines the data source to which the form should refer. If you click the ... button, you call the Open dialog, where you can choose a data source.
- -ContentUFI: was Data source +ContentUFI: was Data source Determines the content to be used for the form. The content can be an existing table or a query (previously created in the database), or it can be defined by an SQL-statement. Before you enter a content you have to define the exact type in Content type. If you have selected either "Table" or "Query" in Content type, the box lists all the tables and queries set up in the selected database.
- -Content type +Content type Defines whether the data source is to be an existing database table or query, or if the form is to be generated based on an SQL statement. If you choose "Table" or "Query", the form will refer to the table or query that you specify under Content. If you want to create a new query or a subform, then you have to choose the "SQL" option. You can then enter the statement for the SQL query or the subform directly in the List content box on the Control properties Data tab page.
- -Analyze SQL command -Specifies whether the SQL statement is to be analyzed by %PRODUCTNAME. If set to Yes, you can click the ... button next to the Content list box. This will open a window where you can graphically create a database query. When you close that window, the SQL statement for the created query will be inserted to the Content list box. +Analyze SQL command +Specifies whether the SQL statement is to be analyzed by %PRODUCTNAME. If set to Yes, you can click the ... button next to the Content list box. This will open a window where you can graphically create a database query. When you close that window, the SQL statement for the created query will be inserted in the Content list box.
- -Filter +Filter Enter the required conditions for filtering the data in the form. The filter specifications follow SQL rules without using the WHERE clause. For example, if you want to display all records with the "Mike" forename, type into the data field: Forename = 'Mike'. You can also combine conditions: Forename = 'Mike' OR Forename = 'Peter'. All records matching either of these two conditions will be displayed. The filter function is available in user mode through the AutoFilter and Default Filter icons on the Form Navigation Bar.
- -Sort +Sort Specifies the conditions to sort the data in the form. The specification of the sorting conditions follows SQL rules without the use of the ORDER BY clause. For example, if you want all records of a database to be sorted in one field in an ascending order and in another field in a descending order, enter Forename ASC, Name DESC (presuming Forename and Name are the names of the data fields). The appropriate icons on the Form Navigation Bar can be used in User mode to sort: Sort Ascending, Sort Descending, Sort.
- -Add data only +Add data only Determines if the form only allows the addition of new data (Yes) or if it allows other properties as well (No). If Add data only is set to "Yes", changing or deleting data is not possible.
- -Navigation bar +Navigation bar Specifies whether the navigation functions in the lower form bar can be used. -The "Parent Form" option is used for subforms. If you choose this option for a subform you can navigate using the records of the main form if the cursor is placed in the subform. A subform is linked to the parent form by a 1:1 relationship, so navigation is always performed in the parent form. +The "Parent Form" option is used for subforms. If you choose this option for a subform, you can navigate using the records of the main form if the cursor is placed in the subform. A subform is linked to the parent form by a 1:1 relationship, so navigation is always performed in the parent form.
- -Cycle +Cycle Determines how the navigation should be done using the tab key. Using the tab key, you can move forward in the form. If you simultaneously press the Shift key, the navigation will follow the opposite direction. If you reach the last (or the first) field and press the tab key again, it can have various effects. Define the key control with the following options: @@ -153,26 +141,21 @@ YJ: checked
-
- -Allow additions +Allow additions Determines if data can be added.
- -Allow modifications +Allow modifications Determines if the data can be modified.
- -Allow deletions +Allow deletions Determines if the data can be deleted.
- -Link master fields +Link master fields If you create a subform, enter the data field of the parent form responsible for the synchronization between parent and subform. To enter multiple values, press Shift + Enter after each input line.UFI: fixes #i22439# The subform is based on an SQL query; more specifically, on a Parameter Query. If a field name is entered in the Link master fields box, the data contained in that field in the main form is read to a variable that you must enter in Link slave fields. In an appropriate SQL statement, this variable is compared to the table data that the subform refers to. Alternatively, you can enter the column name in the Link master fields box. Consider the following example: @@ -185,8 +168,7 @@ YJ: checked The SQL statement can either be entered in the Data source field, or you can create an appropriate parameter query, which can be used to create the subform.
- -Link slave fields +Link slave fields If you create a subform, enter the variable where possible values from the parent form field can be stored. If a subform is based on a query, enter the variable that you defined in the query. If you create a form using an SQL statement entered in the Data source field, enter the variable you used in the statement. You can choose any variable name. If you want to enter multiple values, press Shift + Enter. If, for example, you specified the Customer_ID database field as a parent field under Link master fields, then you can define under Link slave fields the name of the variable in which the values of the Customer_ID database field are to be stored. If you now specify an SQL statement in the Data source box using this variable, the relevant values are displayed in the subform.