Data item display method and device, and recording medium storing a program for controlling display of data item
First Claim
1. A computer assisted method of forming a database query statement, the query statement including a joining of a source data table having a plurality of source data fields represented by corresponding source data field names with a target data table having a plurality of target data fields represented by corresponding target data field names, comprising the steps of:
- displaying a source list box containing a list of at least some of said source data field names and a target list box containing a list of at least some of said target data field names;
pointing by an operator to a source data field name displayed in the source list box to select the corresponding source data field of the source data table for possible joining;
automatically determining which of the target data fields having corresponding target data field names displayed in the target list box cannot be joined with the selected source data field of the source data table;
automatically indicating the target data field names of target data fields which cannot be properly joined with the selected source data field by distinctly displaying said indicated target data field names differently in the target list box than the target data field names of target data fields which can be joined with the selected source data field, whereby the operator may select from among the target data field names in the target list box that are not distinctively displayed to select a proper target data field for joining with the selected source data field in forming a query statement.
1 Assignment
0 Petitions
Accused Products
Abstract
In order to make sure that a user does not attempt to build an invalid database query in which tables are incorrectly joined on fields that cannot be joined due to an incompatibility of data types, after the user selects a source data field the incompatible target data fields which cannot be joined with the selected source data field are determined automatically and displayed distinctly differently in a target list box of possible target data field names, such as in a different color.
-
Citations
3 Claims
-
1. A computer assisted method of forming a database query statement, the query statement including a joining of a source data table having a plurality of source data fields represented by corresponding source data field names with a target data table having a plurality of target data fields represented by corresponding target data field names, comprising the steps of:
-
displaying a source list box containing a list of at least some of said source data field names and a target list box containing a list of at least some of said target data field names;
pointing by an operator to a source data field name displayed in the source list box to select the corresponding source data field of the source data table for possible joining;
automatically determining which of the target data fields having corresponding target data field names displayed in the target list box cannot be joined with the selected source data field of the source data table;
automatically indicating the target data field names of target data fields which cannot be properly joined with the selected source data field by distinctly displaying said indicated target data field names differently in the target list box than the target data field names of target data fields which can be joined with the selected source data field, whereby the operator may select from among the target data field names in the target list box that are not distinctively displayed to select a proper target data field for joining with the selected source data field in forming a query statement.
-
-
2. Apparatus for assisting an operator in forming a database query statement, the query statement including a joining of a source data table having a plurality of source data fields represented by corresponding source data field names with a target data table having a plurality of target data fields represented by corresponding target data field names, comprising:
-
a display for displaying a source list box containing a list of at least some of said source data field names and a target list box containing a list of at least some of said target data field names;
a pointing device for pointing by the operator to a source data field name displayed in the source list box to select the corresponding source data field of the source data table for possible joining;
a target list box control for automatically determining which of the target data fields having corresponding target data field names displayed in the target list box cannot be joined with the selected source data field of the source data table;
said target list box control automatically controlling said display to indicate the target data field names of target data fields which cannot be properly joined with the selected source data field by distinctly displaying said indicated target data field names differently in the target list box than the target data field names of target data fields which can be joined with the selected source data field, whereby the operator may select from among the target data field names in the target list box that are not distinctively displayed to select a proper target data field for joining with the selected source data field in forming a query statement.
-
-
3. A recording medium storing a program for computer assisting an operator in forming a database query statement, the query statement including a joining of a source data table having a plurality of source data fields represented by corresponding source data field names with a target data table having a plurality of target data fields represented by corresponding target data field names, said program comprising:
-
program code for displaying a source list box containing a list of at least some of said source data field names and a target list box containing a list of at least some of said target data field names;
program code for allowing an operator to point to a source data field name displayed in the source list box to select the corresponding source data field of the source data table for possible joining;
program code for automatically determining which of the target data fields having corresponding target data field names displayed in the target list box cannot be joined with the selected source data field of the source data table;
program code for automatically indicating the target data field names of target data fields which cannot be properly joined with the selected source data field by distinctly displaying said indicated target data field names differently in the target list box than the target data field names of target data fields which can be joined with the selected source data field, whereby the operator may select from among the target data field names in the target list box that are not distinctively displayed to select a proper target data field for joining with the selected source data field in forming a query statement.
-
Specification