JP2005038404A - Data mapping device, data mapping method and program - Google Patents
Data mapping device, data mapping method and program Download PDFInfo
- Publication number
- JP2005038404A JP2005038404A JP2004152049A JP2004152049A JP2005038404A JP 2005038404 A JP2005038404 A JP 2005038404A JP 2004152049 A JP2004152049 A JP 2004152049A JP 2004152049 A JP2004152049 A JP 2004152049A JP 2005038404 A JP2005038404 A JP 2005038404A
- Authority
- JP
- Japan
- Prior art keywords
- data
- area
- heading
- cells
- mapping
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013506 data mapping Methods 0.000 title claims abstract description 126
- 238000000034 method Methods 0.000 title claims description 14
- 238000013507 mapping Methods 0.000 claims abstract description 101
- 239000011159 matrix material Substances 0.000 claims abstract description 13
- 230000004044 response Effects 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 11
- 230000008859 change Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000012559 user support system Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、データの入力または表示を行うデータ入出力フォームとデータベースとを連携したデータ入出力装置を作成するためのデータマッピング装置、データマッピング方法、およびプログラムに関する。 The present invention relates to a data mapping device, a data mapping method, and a program for creating a data input / output device that links a data input / output form for inputting or displaying data and a database.
従来から、会計管理ソフトなどにおいては、例えば表計算用ソフトウェアによって作成されたデータ入出力用のシートとデータベースとが連携されたシステムが知られている。このシステムの一例が非特許文献1に開示されている。このシステムでは、データ入出力用のシートのそれぞれのセルにコードを割り当て、データベース内の格納場所に関連付けている。具体的には、データ入出力のシートと同じデザインのシートを準備し、そのシート上でそれぞれのセルにコードを記述する。
上記システムでは、データ入出力の単位であるセルごとに関連付けの作業を行っていた。データ入出力シートのセル数は多いので、データ入出力のシートとデータベースとを連携させるために時間を要した。また、シートに割当コードを直接記述する方式を採用しているので、データ入出力フォームのデザインの変更があった場合には、再度コードを割り当てる必要があった。 In the above system, the association work is performed for each cell which is a unit of data input / output. Since the number of cells in the data input / output sheet is large, it took time to link the data input / output sheet with the database. In addition, since the method of directly describing the allocation code on the sheet is adopted, it is necessary to allocate the code again when the design of the data input / output form is changed.
本発明は上記した背景に鑑み、データ入出力フォームとデータベースとを連携したデータ入出力装置を簡易な操作で作成できるデータマッピング装置、データマッピング方法、およびプログラムを提供することを目的とする。 In view of the above-described background, an object of the present invention is to provide a data mapping device, a data mapping method, and a program that can create a data input / output device that links a data input / output form and a database with a simple operation.
本発明のデータマッピング装置は、データの入力または表示を行うデータ入出力フォームとデータベースとを連携したデータ入出力装置を作成するデータマッピング装置であって、データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示する手段と、前記データベースの複数のフィールドを表示する手段と、前記データ入出力フォームのデータエリアおよび前記データエリアに対応するフィールドの指定と、前記データエリア内のセルのデータに関する情報を表示する見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付ける手段と、前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする手段と、を備える。 A data mapping apparatus according to the present invention is a data mapping apparatus that creates a data input / output device in which a data input / output form for inputting or displaying data and a database are linked, and includes a plurality of cells in which data can be input or displayed. Means for displaying the data input / output form, means for displaying a plurality of fields of the database, designation of a data area of the data input / output form and a field corresponding to the data area, and a cell in the data area A heading area for displaying information relating to the data of the data, means for accepting designation of the field corresponding to the heading area, data of cells in the data area and the heading area are respectively stored in the designated fields, and Cell data in the data area And means for mapping as with the cell heading area data corresponding to the position of the cell is stored in the same record.
本発明によれば、マッピングする手段は、指定されたデータエリア内のセルのデータと、そのセルの位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする。すなわち、データエリアおよび見出しエリアを指定すれば、エリア内でのセルの位置情報に基づいてデータエリアおよび見出しエリアのそれぞれに含まれるセルが対応付けられる。従って、データエリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がない。データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行える。 According to the present invention, the mapping means performs mapping so that the cell data in the designated data area and the cell data in the header area corresponding to the position of the cell are stored in the same record. That is, if a data area and a heading area are designated, cells included in each of the data area and the heading area are associated with each other based on the position information of the cells in the area. Therefore, it is not necessary to individually specify the storage location of the data of each cell in the data area. Mapping can be performed by a simple operation of designating a data area and a heading area and corresponding fields.
また、本発明では、それぞれのエリアにおけるセルの位置情報に基づいて、異なるエリア間でセルのデータを対応させている。従って、データ入出力フォームのデザイン変更によってデータエリアと見出しエリアの位置関係がずれても、セルのデータの対応を保つことができる。 In the present invention, cell data is associated between different areas based on cell position information in each area. Therefore, even if the positional relationship between the data area and the heading area is shifted due to the design change of the data input / output form, the correspondence of the cell data can be maintained.
また、本発明のデータマッピング装置は、データの入力または表示を行うデータ入出力フォームとデータベースとを連携したデータ入出力装置を作成するデータマッピング装置であって、データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示する手段と、前記データベースの複数のフィールドを表示する手段と、前記セルがマトリックス状に配置されたデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリアの行または列に対応して配置された見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付ける手段と、前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの行または列の位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする手段と、を備える。 The data mapping device of the present invention is a data mapping device for creating a data input / output device in which a data input / output form for inputting or displaying data and a database are linked, and is capable of inputting or displaying data. Means for displaying the data input / output form having cells; means for displaying a plurality of fields of the database; a data area in which the cells are arranged in a matrix; and designation of the field corresponding to the data area; A heading area arranged corresponding to a row or a column of the data area and a means for receiving designation of the field corresponding to the heading area; and data of the cells in the data area and the heading area are designated Stored in the field and in the data area And means for mapping as the Le data and the cell heading area corresponding to the position of the row or column of the cell data is stored in the same record.
本発明によれば、マッピングする手段は、指定されたデータエリア内のセルのデータと、そのセルの行または列の位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする。すなわち、データエリアおよび見出しエリアを指定すれば、エリア内でのセルの位置情報に基づいてデータエリアおよび見出しエリアのそれぞれに含まれるセルが対応付けられる。従って、データエリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がない。データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行える。 According to the present invention, the mapping means stores the cell data in the designated data area and the cell data in the header area corresponding to the row or column position of the cell in the same record. Map. That is, if a data area and a heading area are designated, cells included in each of the data area and the heading area are associated with each other based on the position information of the cells in the area. Therefore, it is not necessary to individually specify the storage location of the data of each cell in the data area. Mapping can be performed by a simple operation of designating a data area and a heading area and corresponding fields.
また、本発明では、それぞれのエリアにおけるセルの位置情報に基づいて、異なるエリア間でセルのデータを対応させている。従って、データ入出力フォームのデザイン変更によってデータエリアと見出しエリアの位置関係がずれても、セルのデータの対応を保つことができる。 In the present invention, cell data is associated between different areas based on cell position information in each area. Therefore, even if the positional relationship between the data area and the heading area is shifted due to the design change of the data input / output form, the correspondence of the cell data can be maintained.
上記データマッピング装置は、指定された前記見出しエリアのセル数と、指定された前記データエリアの行または列のセル数とに基づいて、前記見出しエリアと前記データエリアの指定が対応しているか否かを判定する手段をさらに備え、前記マッピングする手段は、前記見出しエリアと前記データエリアが対応しているとの判定に応じてマッピングしてもよい。 The data mapping apparatus determines whether the designation of the heading area and the data area corresponds to the number of cells in the designated heading area and the number of cells in the designated row or column of the data area. The mapping unit may perform mapping according to the determination that the heading area and the data area correspond to each other.
指定されたデータエリアと指定された見出しエリアとが対応しているか判定する手段を備えることにより、データエリアと見出しエリアの指定が対応していない場合に、例えば、エリア指定の誤りをユーザに報知できる。誤ったエリア指定を防止し、データ入出力装置を作成するユーザを支援することができる。 By providing means for determining whether the designated data area corresponds to the designated heading area, if the data area does not correspond to the designated heading area, for example, the user is notified of an area designation error. it can. Incorrect area designation can be prevented, and a user who creates a data input / output device can be supported.
前記指定を受け付ける手段は、前記データエリアを指定する際に前記データエリアがデータを入力するためのエリアかデータを表示するためのエリアかの選択を受け付けてもよい。 The means for accepting the designation may accept selection of whether the data area is an area for inputting data or an area for displaying data when the data area is designated.
この構成により、データエリアに入力されたデータをデータベースに格納するか、データベースに格納されたデータをデータエリアに表示するかを設定可能となる。 With this configuration, it is possible to set whether the data input to the data area is stored in the database or whether the data stored in the database is displayed in the data area.
また、別の態様に係る本発明のデータマッピング装置は、データの入力または表示を行うデータ入出力フォームとデータベースとを連携したデータ入出力装置を作成するデータマッピング装置であって、データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示する手段と、前記データベースの複数のフィールドを表示する手段と、前記データ入出力フォームのエリアが、表示された前記フィールドのいずれかにドラッグアンドドロップされることに応じて、前記エリア内のセルのデータが当該フィールドに格納されるようにマッピングする手段と、を備える。 The data mapping device of the present invention according to another aspect is a data mapping device for creating a data input / output device in which a data input / output form for inputting or displaying data and a database are linked. Means for displaying the data input / output form having a plurality of displayable cells; means for displaying a plurality of fields of the database; and an area of the data input / output form is dragged to one of the displayed fields Means for mapping so that data of cells in the area are stored in the field in response to being dropped.
本発明によれば、マッピングする手段は、データ入出力フォーム内の指定されたエリアがフィールドにドラッグアンドドロップされることに応じて、指定されたエリアのデータが指定されたフィールドに格納されるようにマッピングされる。従って、エリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がなく、エリアを指定してフィールドにドラッグアンドドロップするという簡易な操作でマッピングを行える。このとき、エリア内におけるセルの位置情報に基づいて、異なるエリア間でセルを対応させてもよい。これにより、対応するセルのデータを同一のレコードに格納することができる。 According to the present invention, the mapping means stores the data in the designated area in the designated field in response to the designated area in the data input / output form being dragged and dropped onto the field. Mapped to Therefore, it is not necessary to individually specify the storage location of each cell in the area, and mapping can be performed by a simple operation of specifying the area and dragging and dropping it into the field. At this time, cells may be associated between different areas based on the position information of the cells in the area. Thereby, the data of the corresponding cell can be stored in the same record.
また、本発明の別の態様のデータマッピング装置は、データの入力または表示を行うデータ入出力フォームとデータベースとを連携したデータ入出力装置を作成するデータマッピング装置であって、データを入力または表示可能な複数のセルを有するシートを表示する手段と、前記データベースの複数のフィールドを表示する手段と、前記各フィールドに格納されるデータが、見出しのデータであるか、見出しに対応する値のデータであるかを識別するデータ種別情報を記憶する記憶手段と、前記シートにおいて少なくとも一のセルを含むエリア、および前記エリアに対応付ける前記フィールドの指定を受け付ける手段と、前記記憶手段から読み出したフィールドのデータ種別情報に基づいて、見出しのデータが格納されるフィールドに対応付けられたエリアを見出しエリアとし、値のデータが格納されるフィールドに対応付けられたエリアをデータエリアとし、前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードを構成するようにマッピングする手段とを備える。 A data mapping device according to another aspect of the present invention is a data mapping device that creates a data input / output device in which a data input / output form for inputting or displaying data and a database are linked, and inputs or displays data. Means for displaying a sheet having a plurality of possible cells, means for displaying a plurality of fields of the database, and data stored in each field is data of a heading or data of a value corresponding to the heading Storage means for storing data type information for identifying whether or not, an area including at least one cell in the sheet, a means for receiving designation of the field associated with the area, and field data read from the storage means Corresponds to the field where the heading data is stored based on the type information An area associated with the field in which the value data is stored is a data area, and the cell data in the data area and the cell data in the header area corresponding to the position of the cell And means for mapping so as to constitute the same record.
このように複数のセルを含むエリアをデータベースのフィールドに対応付けることによって、シートに見出しエリアまたはデータエリアが作成され、データ入出力フォームを作成することができる。そして、データ入出力フォームの見出しエリアおよびデータエリアとデータベースの各フィールドとがマッピングされるので、各セルを個別に指定しなくても、作成されたデータ入出力フォームとデータベースとを連携させることができる。 Thus, by associating an area including a plurality of cells with a database field, a heading area or a data area is created on the sheet, and a data input / output form can be created. Since the data input / output form heading area and data area are mapped to each field of the database, the created data input / output form can be linked to the database without specifying each cell individually. it can.
上記データマッピング装置は、前記シートに前記データエリアを設定可能なデータエリア設定可能範囲と前記見出しエリアを設定可能な見出しエリア設定可能範囲とを設定するエリア種別設定手段を備え、前記マッピングする手段は、前記見出しデータを格納するフィールドに対応付けられたエリアが前記見出しエリア設定可能範囲内にあり、かつ前記値データを格納するフィールドに対応付けられたエリアが前記データエリア設定可能範囲内にあるときに、前記マッピングを行ってもよい。 The data mapping apparatus includes area type setting means for setting a data area setting range capable of setting the data area on the sheet and a heading area setting range capable of setting the heading area, and the mapping means includes: When the area associated with the field storing the header data is in the header area settable range, and the area associated with the field storing the value data is in the data area settable range In addition, the mapping may be performed.
このようにエリア種別設定手段にて見出しエリア設定可能範囲とデータエリア設定可能範囲を設定することにより、見出しエリア設定可能範囲内のエリアが見出しのデータが格納されるフィールドに対応付けられ、データエリア設定可能範囲内のエリアが見出しの値が格納されるフィールドに対応付けられたか否かをチェックできる。これにより、誤ったエリア指定を防止し、データ入出力装置を作成するユーザを支援することができる。 Thus, by setting the heading area settable range and the data area settable range by the area type setting means, the area within the heading area settable range is associated with the field in which the heading data is stored, and the data area It is possible to check whether or not an area within the settable range is associated with a field in which a heading value is stored. Thereby, an erroneous area designation can be prevented and a user who creates a data input / output device can be supported.
上記データマッピング装置において、前記エリア種別設定手段は、マトリックス状に配置されたセルのうちの一のセルの選択を受け付ける手段を備え、前記選択を受け付けたセルを基準とする縦軸および横軸によって仕切られた前記シートの4つの範囲のうちの1つをデータエリア設定可能範囲とし、残りの範囲を見出しエリア設定可能範囲としてもよい。 In the data mapping apparatus, the area type setting unit includes a unit that receives selection of one of the cells arranged in a matrix, and the vertical axis and the horizontal axis are based on the cell that has received the selection. One of the four ranges of the partitioned sheet may be set as a data area settable range, and the remaining range may be set as a headline area settable range.
このように4つに分割された範囲の1つをデータエリアとし、残りを見出しエリアとすることにより、データエリアの各セルの行または列に対応して見出しエリアを設定することができる。また、データエリアに行または列を追加する場合にも、対応する見出しエリアに行または列が追加されることになるので、データエリアと見出しエリアとの適切な関係を保つことができる。 Thus, by setting one of the four divided ranges as a data area and the remaining as a heading area, the heading area can be set corresponding to the row or column of each cell in the data area. Also, when a row or column is added to the data area, a row or column is added to the corresponding heading area, so that an appropriate relationship between the data area and the heading area can be maintained.
上記データマッピング装置は、前記見出しエリアの拡張設定を受け付ける手段を備え、前記データベースから読み出したデータを表示する際に、前記拡張設定がなされた見出しエリアに対応付けられたフィールドから読み出したデータに応じて、前記マトリックス状のセルに行または列を追加して前記見出しエリアおよびデータエリアを拡張するデータ入出力フォームを作成してもよい。 The data mapping device includes means for accepting an extension setting of the heading area, and displays data read from the database according to data read from a field associated with the heading area for which the extension setting has been made. Then, a data input / output form for expanding the heading area and the data area by adding a row or a column to the matrix-like cell may be created.
このように見出しエリアの拡張設定を受け付け、データベースから読み出されたデータに応じて見出しエリアが拡張されるデータ入出力フォームを作成することにより、データ入出力フォームを作成するときに、データベースのデータを意識する必要がない。また、データベースのデータ量が変動した場合にも対応できる。なお、データエリアの行に対応した行見出しエリアに拡張設定がなされた場合には行を追加し、データエリアの列に対応した列見出しエリアに拡張設定がなされた場合には列を追加することによって、データ入出力フォームを拡張する。 In this way, when the data input / output form is created by accepting the extended setting of the heading area and creating the data input / output form in which the heading area is expanded according to the data read from the database, There is no need to be aware of In addition, it can cope with the case where the data amount of the database fluctuates. If extended settings are made in the row header area corresponding to the data area row, add a row. If extended settings are made in the column header area corresponding to the data area column, add a column. To extend the data input / output form.
上記データマッピング装置は、前記データエリアの行に対応した行見出しエリアに拡張設定がなされたときは前記行見出しエリアと同じ行に別の見出しエリアが存在するか否かを判定し、前記データエリアの列に対応した列見出しエリアに拡張設定がなされたときは前記列見出しエリアと同じ列に別の見出しエリアが存在するか否かを判定する手段と、前記行見出しエリアと同じ行または前記列見出しエリアと同じ列に別の見出しエリアが存在するとの判定に応じてエリア設定の不整合を通知する手段とを備えてもよい。 The data mapping device determines whether another heading area exists in the same row as the row heading area when an extension setting is made in a row heading area corresponding to the row of the data area, and the data area Means for determining whether or not another heading area exists in the same column as the column heading area when the extension setting is made in the column heading area corresponding to the column, and the same row or column as the row heading area Means for notifying an inconsistency in area setting in response to determination that another heading area exists in the same column as the heading area may be provided.
拡張設定がなされた行見出しエリアと同じ行、および拡張設定がなされた列見出しエリアと同じ列のエリアは、データ出力時に見出しエリアと共に拡張するので、別の見出しエリアが設定されていないか判定し、別のエリアが設定されている場合にはエリア設定の不整合を通知することが好ましい。これにより、拡張設定がなされた行見出しエリアと同じ行、および拡張設定がなされた列見出しエリアと同じ列のエリアに、別の見出しエリアを設定しないようにユーザに促し、データ出力時のデータフォームの拡張に伴うデータ入出力フォームの不整合を予め防止できる。 The same row as the heading area with the extended setting and the same column area as the column heading area with the extended setting are expanded together with the heading area at the time of data output, so it is determined whether another heading area is set. When another area is set, it is preferable to notify the inconsistency of the area setting. This prompts the user not to set another heading area in the same row as the extended heading area and in the same column as the extended heading area. Inconsistencies in data input / output forms associated with the expansion of the can be prevented in advance.
上記データマッピング装置は、前記設定受付手段によって拡張設定がなされた見出しエリアと前記データエリアとの位置が対応しているか否かを判定する手段と、前記見出しエリアと前記データエリアとの位置が対応していないとの判定に応じてエリア設定の不整合を通知する手段とを備えてもよい。 In the data mapping device, the means for determining whether or not the position of the heading area and the data area corresponding to the extended setting by the setting accepting means correspond to the position of the heading area and the data area Means for notifying inconsistencies in the area setting in accordance with the determination that it has not been performed.
データエリアと見出しエリアの位置を対応していない場合にエリア設定の不整合をユーザに通知することにより、ユーザに、データエリアと見出しエリアの位置の対応付けを促す。これにより、データ出力時に拡張されたデータ入出力フォームにおいても、見出しエリアとデータエリアが対応するので、適切なデータ入出力フォームを表示できる。 When the position of the data area does not correspond to the position of the headline area, the user is notified of the inconsistency in the area setting, thereby prompting the user to associate the position of the data area and the headline area. As a result, even in the data input / output form expanded at the time of data output, the heading area and the data area correspond to each other, so that an appropriate data input / output form can be displayed.
本発明のデータマッピング方法は、データの入力または表示を行うデータ入出力フォームとデータベースとを連携したデータ入出力装置を作成するデータマッピング方法であって、データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、前記データベースの複数のフィールドを表示するステップと、前記データ入出力フォームのデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリア内のセルのデータに関する情報を表示するしエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付けるステップと、前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングするステップと、を備える。 A data mapping method of the present invention is a data mapping method for creating a data input / output device in which a data input / output form for inputting or displaying data and a database are linked, and a plurality of cells capable of inputting or displaying data are arranged. Displaying the data input / output form, displaying a plurality of fields of the database, specifying a data area of the data input / output form and the field corresponding to the data area, and in the data area Displaying information related to cell data, receiving the designation of the field corresponding to the area and the heading area, storing data of the cells in the data area and the heading area, respectively, in the designated field; and The data area Comprising of a step of mapping to data and the data of the heading area cell corresponding to the position of the cell are stored in the same record, the.
本発明によれば、マッピングするステップでは、指定されたデータエリア内のセルのデータと、そのセルの位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする。すなわち、データエリアおよび見出しエリアを指定すれば、エリア内でのセルの位置情報に基づいてデータエリアおよび見出しエリアのそれぞれに含まれるセルが対応付けられる。従って、データエリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がない。データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行える。 According to the present invention, in the mapping step, mapping is performed so that the cell data in the designated data area and the cell data in the header area corresponding to the position of the cell are stored in the same record. That is, if a data area and a heading area are designated, cells included in each of the data area and the heading area are associated with each other based on the position information of the cells in the area. Therefore, it is not necessary to individually specify the storage location of the data of each cell in the data area. Mapping can be performed by a simple operation of designating a data area and a heading area and corresponding fields.
また、本発明では、それぞれのエリアにおけるセルの位置情報に基づいて、異なるエリア間でセルのデータを対応させている。従って、データ入出力フォームのデザイン変更によってデータエリアと見出しエリアの位置関係がずれても、セルのデータの対応を保つことができる。 In the present invention, cell data is associated between different areas based on cell position information in each area. Therefore, even if the positional relationship between the data area and the heading area is shifted due to the design change of the data input / output form, the correspondence of the cell data can be maintained.
本発明のプログラムは、データの入力または表示を行うデータ入出力フォームとデータベースとを連携させるためのプログラムであって、データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、前記データベースの複数のフィールドを表示するステップと、前記データ入出力フォームのデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリア内のセルのデータに関する情報を表示する見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付けるステップと、前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングするステップと、をコンピュータに実行させる。 The program of the present invention is a program for linking a data input / output form for inputting or displaying data and a database, and displays the data input / output form having a plurality of cells into which data can be input or displayed. A step of displaying a plurality of fields of the database; a data area of the data input / output form; a designation of the field corresponding to the data area; and a header for displaying information relating to data of cells in the data area Receiving the designation of the field corresponding to the area and the heading area; storing data of the cells in the data area and the heading area in the designated field; and Corresponding to the cell position Wherein the data of the heading area of the cell to perform the step of mapping to be stored in the same record, to the computer.
本発明のプログラムをコンピュータによって実行することにより、コンピュータは、指定されたデータエリア内のセルのデータと、そのセルの位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする。すなわち、データエリアおよび見出しエリアを指定すれば、エリア内でのセルの位置情報に基づいてデータエリアおよび見出しエリアのそれぞれに含まれるセルが対応付けられる。従って、データエリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がない。データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行える。 By executing the program of the present invention by the computer, the computer stores the cell data in the designated data area and the cell data in the header area corresponding to the cell position in the same record. Map. That is, if a data area and a heading area are designated, cells included in each of the data area and the heading area are associated with each other based on the position information of the cells in the area. Therefore, it is not necessary to individually specify the storage location of the data of each cell in the data area. Mapping can be performed by a simple operation of designating a data area and a heading area and corresponding fields.
また、本発明のプログラムをコンピュータによって実行することにより、コンピュータは、それぞれのエリアにおけるセルの位置情報に基づいて、異なるエリア間でセルのデータを対応させる。従って、データ入出力フォームのデザイン変更によってデータエリアと見出しエリアの位置関係がずれても、セルのデータの対応を保つことができる。 Further, by executing the program of the present invention by a computer, the computer associates cell data between different areas based on the cell position information in each area. Therefore, even if the positional relationship between the data area and the heading area is shifted due to the design change of the data input / output form, the correspondence of the cell data can be maintained.
本発明のプログラムは、データの入力または表示を行うデータ入出力フォームとデータベースとを連携させるためのプログラムであって、データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、前記データベースの複数のフィールドを表示するステップと、前記セルがマトリックス状に配置されたデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリアの行または列に対応して配置された見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付けるステップと、前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと、当該セルの行または列の位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングするステップと、をコンピュータに実行させる。 The program of the present invention is a program for linking a data input / output form for inputting or displaying data and a database, and displays the data input / output form having a plurality of cells into which data can be input or displayed. Displaying a plurality of fields of the database, a data area in which the cells are arranged in a matrix, designation of the field corresponding to the data area, and a row or column of the data area A step of accepting designation of the arranged heading area and the field corresponding to the heading area, and data of the cells in the data area and the heading area are stored in the designated field, and the cells of the data area Data and the row or And the cell heading area corresponding to the position of the column data to execute a step of mapping to be stored in the same record, to the computer.
本発明のプログラムをコンピュータによって実行することにより、コンピュータは、指定されたデータエリア内のセルのデータと、そのセルの行または列の位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする。すなわち、データエリアおよび見出しエリアを指定すれば、エリア内のセルの位置情報に基づいてデータエリアおよび見出しエリアのそれぞれに含まれるセルが対応付けられる。従って、データエリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がない。データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行える。 By executing the program of the present invention by the computer, the computer stores the cell data in the designated data area and the cell data in the header area corresponding to the row or column position of the cell in the same record. To be mapped. That is, if a data area and a heading area are designated, cells included in each of the data area and the heading area are associated with each other based on the position information of the cells in the area. Therefore, it is not necessary to individually specify the storage location of the data of each cell in the data area. Mapping can be performed by a simple operation of designating a data area and a heading area and corresponding fields.
また、本発明のプログラムをコンピュータによって実行することにより、コンピュータは、それぞれのエリアにおけるセルの位置情報に基づいて、異なるエリア間でセルのデータを対応させる。従って、データ入出力フォームのデザイン変更によってデータエリアと見出しエリアの位置関係がずれても、セルのデータの対応を保つことができる。 Further, by executing the program of the present invention by a computer, the computer associates cell data between different areas based on the cell position information in each area. Therefore, even if the positional relationship between the data area and the heading area is shifted due to the design change of the data input / output form, the correspondence of the cell data can be maintained.
上記プログラムは、指定された前記見出しエリアのセル数と、指定された前記データエリアの行または列のセル数とに基づいて、前記見出しエリアと前記データエリアが対応しているか否かを判定するステップをコンピュータに実行させ、前記マッピングするステップは、前記見出しエリアと前記データエリアが対応しているとの判定に応じて、コンピュータにマッピングさせてもよい。 The program determines whether or not the heading area and the data area correspond to each other based on the number of cells in the designated heading area and the number of cells in the designated row or column of the data area. The step may be executed by a computer and the mapping may be performed by the computer in response to the determination that the heading area and the data area correspond to each other.
指定されたデータエリアと指定された見出しエリアとが対応しているか判定するステップをコンピュータに実行させることにより、データエリアと見出しエリアの指定が対応していない場合に、例えば、エリア指定の誤りをユーザに報知できる。誤ったエリア指定を防止し、データ入出力装置を作成するユーザを支援することができる。 By causing the computer to execute a step of determining whether the designated data area and the designated heading area correspond to each other, when the data area and the heading area are not designated, for example, an error in area designation is generated. Users can be notified. Incorrect area designation can be prevented, and a user who creates a data input / output device can be supported.
前記マッピングを受け付けるステップでは、前記エリアと前記フィールドとをマッピングする際に、前記エリアがデータを入力するためのエリアかデータを表示するためのエリアかの選択を受け付けてもよい。 In the step of accepting the mapping, when mapping the area and the field, selection of whether the area is an area for inputting data or an area for displaying data may be accepted.
これにより、データエリアに入力されたデータをデータベースに格納するか、データベースに格納されたデータをデータエリアに表示するかを設定可能となる。 Thereby, it is possible to set whether the data input to the data area is stored in the database or whether the data stored in the database is displayed in the data area.
本発明のプログラムをコンピュータで実行することにより、コンピュータは、マッピングする手段は、データ入出力フォーム内の指定されたエリアがフィールドにドラッグアンドドロップされることに応じて、そのエリア内のセルのデータが指定されたフィールドに格納されるようにマッピングする。従って、エリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がなく、エリアを指定してフィールドにドラッグアンドドロップするという簡易な操作でマッピングを行える。このとき、エリア内におけるセルの位置情報に基づいて、異なるエリア間でセルを対応させてもよい。これにより、対応するセルのデータを同一のレコードに格納することができる。 By executing the program of the present invention on the computer, the computer can map the data of the cells in the area in response to the specified area in the data input / output form being dragged and dropped into the field. Is mapped so that is stored in the specified field. Therefore, it is not necessary to individually specify the storage location of each cell in the area, and mapping can be performed by a simple operation of specifying the area and dragging and dropping it into the field. At this time, cells may be associated between different areas based on the position information of the cells in the area. Thereby, the data of the corresponding cell can be stored in the same record.
また、本発明の別の態様のプログラムは、データの入力または表示を行うデータ入出力フォームとデータベースとを連携させるプログラムであって、データを入力または表示可能な複数のセルを有するシートを表示するステップと、前記データベースの複数のフィールドを表示するステップと、前記シートにおいて少なくとも一のセルを含むエリア、および前記エリアに対応付ける前記フィールドの指定を受け付けるステップと、前記各フィールドに格納されるデータが、見出しのデータであるか、見出しに対応する値のデータであるかを識別するデータ種別情報を記憶手段から読み出すステップと、前記記憶手段から読み出したフィールドのデータ種別情報に基づいて、見出しのデータが格納されるフィールドに対応付けられたエリアを見出しエリアとし、値のデータが格納されるフィールドに対応付けられたエリアをデータエリアとし、前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードを構成するようにマッピングするステップとをコンピュータに実行させる。 A program according to another aspect of the present invention is a program that links a data input / output form for inputting or displaying data and a database, and displays a sheet having a plurality of cells into which data can be input or displayed. Displaying a plurality of fields in the database; receiving an area including at least one cell in the sheet; and specifying the field associated with the area; and data stored in each field, Based on the data type information for identifying whether the data is heading data or value data corresponding to the heading from the storage means, and the data type information of the field read from the storage means, Look at the area associated with the stored field. The area associated with the field in which the value data is stored is defined as the data area, and the cell data in the data area and the cell data in the header area corresponding to the position of the cell have the same record. Mapping to configure the computer to execute.
本発明のプログラムをコンピュータで実行すれば、シートの複数のセルを含むエリアとフィールドとの対応を受け付けることによって、シートに見出しエリアまたはデータエリアが作成され、データ入出力フォームを作成することができる。そして、データ入出力フォームの見出しエリアおよびデータエリアとデータベースの各フィールドとがマッピングされるので、各セルを個別に指定しなくても、作成されたデータ入出力フォームとデータベースとを連携させることができる。 When the program of the present invention is executed by a computer, a heading area or a data area is created on a sheet by accepting correspondence between an area including a plurality of cells of the sheet and a field, and a data input / output form can be created. . Since the data input / output form heading area and data area are mapped to each field of the database, the created data input / output form can be linked to the database without specifying each cell individually. it can.
上記プログラムにおいて、前記シートに前記データエリアを設定可能なデータエリア設定可能範囲と前記見出しエリアを設定可能な見出しエリア設定可能範囲とを設定するエリア種別設定ステップを備え、前記マッピングするステップは、前記見出しデータを格納するフィールドに対応付けられたエリアが前記見出しエリア設定可能範囲内にあり、かつ前記値データを格納するフィールドに対応付けられたエリアが前記データエリア設定可能範囲内にあるときに、前記マッピングを行ってもよい。 In the above program, the method includes an area type setting step for setting a data area settable range in which the data area can be set in the sheet and a heading area settable range in which the heading area can be set, and the mapping step includes the step of mapping When the area associated with the field storing the heading data is within the heading area settable range and the area associated with the field storing the value data is within the data area settable range, The mapping may be performed.
このようにエリア種別設定ステップを実行して見出しエリア設定可能範囲とデータエリア設定可能範囲を設定することにより、見出しエリア設定可能範囲内のエリアが見出しのデータが格納されるフィールドに対応付けられ、データエリア設定可能範囲内のエリアが見出しの値が格納されるフィールドに対応付けられたか否かをチェックできる。これにより、誤ったエリア指定を防止し、データ入出力装置を作成するユーザを支援することができる。 By executing the area type setting step in this way and setting the heading area settable range and the data area settable range, the area within the heading area settable range is associated with the field in which the heading data is stored, It is possible to check whether an area within the data area setting range is associated with a field in which the value of the header is stored. Thereby, an erroneous area designation can be prevented and a user who creates a data input / output device can be supported.
上記プログラムは、マトリックス状に配置されたセルのうちの一のセルの選択を受け付けるステップを備え、前記エリア種別設定ステップは、前記選択を受け付けたセルを基準とする縦軸および横軸によって仕切られた前記シートの4つの範囲のうちの1つをデータエリア設定可能範囲とし、残りの範囲を見出しエリア設定可能範囲としてもよい。 The program includes a step of accepting selection of one of the cells arranged in a matrix, and the area type setting step is partitioned by a vertical axis and a horizontal axis based on the cell that has accepted the selection. One of the four ranges of the sheet may be set as a data area settable range, and the remaining range may be set as a heading area settable range.
このように4つに分割された範囲の1つをデータエリアとし、残りを見出しエリアとすることにより、データエリアの各セルの行または列に対応して見出しエリアを設定することができる。また、データエリアに行または列を追加する場合にも、対応する見出しエリアに行または列が追加されることになるので、データエリアと見出しエリアとの適切な関係を保つことができる。 Thus, by setting one of the four divided ranges as a data area and the remaining as a heading area, the heading area can be set corresponding to the row or column of each cell in the data area. Also, when a row or column is added to the data area, a row or column is added to the corresponding heading area, so that an appropriate relationship between the data area and the heading area can be maintained.
上記プログラムは、前記見出しエリアの拡張設定を受け付けるステップをコンピュータに実行させ、前記データベースから読み出したデータを表示する際に、前記拡張設定がなされた見出しエリアに対応付けられたフィールドから読み出したデータに応じて、前記マトリックス状のセルに行または列を追加して前記見出しエリアおよびデータエリアを拡張するデータ入出力フォームを作成してもよい。 The program causes the computer to execute a step of accepting the extended setting of the header area, and when displaying the data read from the database, the program reads the data read from the field associated with the header area for which the extended setting has been made. Accordingly, a data input / output form for expanding the heading area and the data area by adding a row or a column to the matrix-like cell may be created.
本発明のプログラムをコンピュータで実行すれば、見出しエリアの拡張設定を受け付け、データベースから読み出されたデータに応じて見出しエリアが拡張されるデータ入出力フォームを作成するので、データ入出力フォームを作成するときに、データベースのデータを意識する必要がない。また、データベースのデータ量が変動した場合にも対応できる。なお、データエリアの行に対応した行見出しエリアに拡張設定がなされた場合には行を追加し、データエリアの列に対応した列見出しエリアに拡張設定がなされた場合には列を追加することによって、データ入出力フォームを拡張する。 If the program of the present invention is executed by a computer, it accepts the extension setting of the heading area and creates a data input / output form in which the heading area is expanded according to the data read from the database. When you do, you do not need to be aware of database data. In addition, it can cope with the case where the data amount of the database fluctuates. If extended settings are made in the row header area corresponding to the data area row, add a row. If extended settings are made in the column header area corresponding to the data area column, add a column. To extend the data input / output form.
上記プログラムは、前記データエリアの行に対応した行見出しエリアに拡張設定がなされたときは前記行見出しエリアと同じ行に別の見出しエリアが存在するか否かを判定し、前記データエリアの列に対応した列見出しエリアに拡張設定がなされたときは前記列見出しエリアと同じ列に別の見出しエリアが存在するか否かを判定するステップと、前記行見出しエリアと同じ行または前記列見出しエリアと同じ列に別の見出しエリアが存在するとの判定に応じてエリア設定の不整合を通知するステップとをコンピュータに実行させてもよい。 The program determines whether or not another heading area exists in the same row as the row heading area when an extension setting is made in a row heading area corresponding to the row of the data area, and the column of the data area When the extended setting is made in the column heading area corresponding to the step of determining whether another heading area exists in the same column as the column heading area, and the same row as the row heading area or the column heading area And a step of notifying the area setting inconsistency in response to the determination that another heading area exists in the same column.
拡張設定がなされた行見出しエリアと同じ行、および拡張設定がなされた列見出しエリアと同じ列のエリアは、データ出力時に見出しエリアと共に拡張するので、別の見出しエリアが設定されていないか判定し、別のエリアが設定されている場合にはエリア設定の不整合を通知することが好ましい。これにより、拡張設定がなされた行見出しエリアと同じ行、および拡張設定がなされた列見出しエリアと同じ列のエリアに、別の見出しエリアを設定しないようにユーザに促し、データ出力時のデータフォームの拡張に伴うデータ入出力フォームの不整合を予め防止できる。 The same row as the heading area with the extended setting and the same column area as the column heading area with the extended setting are expanded together with the heading area at the time of data output, so it is determined whether another heading area is set. When another area is set, it is preferable to notify the inconsistency of the area setting. This prompts the user not to set another heading area in the same row as the extended heading area and in the same column as the extended heading area. Inconsistencies in data input / output forms associated with the expansion of the can be prevented in advance.
上記プログラムは、前記設定受付ステップにおいて拡張設定がなされた見出しエリアと前記データエリアとの位置が対応しているか否かを判定するステップと、前記見出しエリアと前記データエリアとの位置が対応していないとの判定に応じてエリア設定の不整合を通知するステップとをコンピュータに実行させてもよい。 In the program, the step of determining whether or not the position of the heading area and the data area that have been expanded in the setting receiving step correspond to the position of the heading area and the data area. In response to the determination that there is not, the computer may execute a step of notifying the inconsistency of the area setting.
データエリアと見出しエリアの位置を対応していない場合にエリア設定の不整合をユーザに通知することにより、ユーザに、データエリアと見出しエリアの位置の対応付けを促す。これにより、データ出力時に拡張されたデータ入出力フォームにおいても、見出しエリアとデータエリアが対応するので、適切なデータ入出力フォームを表示できる。 When the position of the data area does not correspond to the position of the headline area, the user is notified of the inconsistency of the area setting, thereby prompting the user to associate the position of the data area with the position of the headline area. As a result, even in the data input / output form expanded at the time of data output, the heading area and the data area correspond to each other, so that an appropriate data input / output form can be displayed.
本発明の記録媒体は、上記に記載のプログラムを記録している。 The recording medium of the present invention records the program described above.
この記録媒体に記録したプログラムをコンピュータに読み取らせて実行させることにより、上記プログラムと同様に、簡易な操作でデータ入出力フォームのセルとデータベースのマッピングを行うことができる。 By causing the computer to read and execute the program recorded on the recording medium, the cells of the data input / output form and the database can be mapped by a simple operation as in the case of the program.
本発明によれば、マッピングする手段が、指定されたデータエリア内のセルのデータと、そのセルの位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする。すなわち、データエリアおよび見出しエリアを指定すれば、その位置情報に基づいてデータエリアおよび見出しエリアのそれぞれに含まれるセルが対応付けられる。従って、データエリアのそれぞれのセルに対して、そのセルのデータの格納場所を個々に指定する必要がなく、データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行える。 According to the present invention, the mapping means performs mapping so that the cell data in the designated data area and the cell data in the header area corresponding to the position of the cell are stored in the same record. That is, if a data area and a heading area are designated, cells included in each of the data area and the heading area are associated with each other based on the position information. Therefore, it is not necessary to individually specify the storage location of the data of each cell in the data area, and mapping can be performed by a simple operation of specifying the data area and the header area and the corresponding field. .
以下、本発明の実施形態に係るデータマッピング装置について説明する。 Hereinafter, a data mapping apparatus according to an embodiment of the present invention will be described.
図1は、本発明の第1の実施形態に係るデータマッピング装置1の構成を示すブロック図である。第1の実施形態のデータマッピング装置1は、通常のパソコンにより構成することが可能である。データマッピング装置1は、データマッピングのためのプログラムをメモリに格納し、コンピュータによってプログラムを実行することにより実現される。データマッピング装置1は、モニタ21、キーボード22、マウス23、ハードディスク(HDD)24が制御部10に接続されている。HDD24にデータベース25が構成されている。データベース25は、制御部10のデータベース制御手段16によって制御される。ここでいうデータベース25には、専用のデータベースサーバによって管理されるデータベースが含まれるほか、所定のテーブルフォーマットに従ってデータを格納したファイルも含まれる。
FIG. 1 is a block diagram showing a configuration of a
データマッピング装置1の制御部10は、データ入出力フォームを表示する入出力フォーム表示手段11と、フィールドの情報を表示するフィールド表示手段12と、表示されたデータ入出力フォームのエリアおよびそのエリアに対応するフィールドを指定する指定手段13と、指定されたエリアの整合性を判定する判定手段14と、指定手段13による指定に基づいてマッピングするマッピング手段15とを備える。
The
このデータマッピング装置1では、入出力フォーム表示手段11およびフィールド表示手段12によって表示されたデータ入出力フォームおよびフィールドの情報を指定手段13によってユーザに指定させる。そして、指定されたエリアとフィールドを、マッピング手段15によってマッピングする。以下、各構成要素について詳細に説明する。
In this
入出力フォーム表示手段11は、データを入出力するためのデータ入出力フォームをモニタ21に表示する機能を有する。データ入出力フォームは、例えば、表計算ソフトによって作成される。データマッピング装置1は、作成されたデータ入出力フォームを読み込むことにより、モニタ21に表示することが可能である。また、表示されたデータ入出力フォームを、キーボード22またはマウス23により編集することも可能である。
The input / output form display means 11 has a function of displaying on the monitor 21 a data input / output form for inputting / outputting data. The data input / output form is created by spreadsheet software, for example. The
フィールド表示手段12は、データベース25のフィールドに関する情報を表示する機能を有する。データベース25は、データベース制御手段16によりアクセスされる。フィールド表示手段12はデータベース制御手段16に接続され、データベース制御手段16からデータベース25のフィールドに関する情報を取得し、モニタ21に表示する。
The
図2は、モニタ21に表示されるデータ入出力フォーム30およびフィールドに関する情報40の一例を示す図である。モニタ21の画面表示は左右に分割され、左側のウィンドウにデータ入出力フォーム30が表示されている。右側のウィンドウはさらに上下に分割されている。右上のウィンドウには、マッピングリストの情報が表示されている。右下のウィンドウは、マッピングを行うための「マッピング設定」ウィンドウであり、データベース25のフィールドに関する情報40が含まれている。以下、それぞれの表示内容について説明する。
FIG. 2 is a diagram illustrating an example of the data input /
図2に示すデータ入出力フォーム30は、会計で用いられる損益計算書である。データ入出力フォーム30は、データを入力または表示するための複数のセル31を有する。データ入出力フォーム30は、複数のセル31がマトリックス状に配置されたデータエリア32を有する。以下の説明では、データエリア32の左から右に1列、2列といい、データエリア32の上から下に1行、2行、・・・5行という。データエリア32は、報告数値を入力するためのセルである。
The data input /
データエリア32の左側には、行見出しエリア33が配置されている。行見出しエリア33は、セル31がデータエリア32の列方向に並んで配置されている。行見出しエリア33は、それぞれの行に入力されるデータに関する情報を示す。この例では、行見出しエリア33は勘定科目に関する情報を示しており、例えば、データエリア32の第1行は、「売上高」の情報であることを示す。
On the left side of the
データエリア32の上側には、列見出しエリア34が配置されている。列見出しエリア34は、セル31がデータエリア32の行方向に並んで配置されている。列見出しエリア34は、それぞれの列に入力されるデータに関する情報を示す。この例では、列見出しエリア34は会社に関する情報を示しており、例えばデータエリア32の第1列は「A会社」の情報であることを示す。
A
データベース25のフィールドに関する情報40は、データベース25のテーブルの情報が反映されて表示される。すなわち、図2で、勘定科目41、会社42、報告数値43と表示されているのは、データベース25のテーブルが、勘定科目、会社、報告数値と設計されていることによる。
また、図2において、各フィールド41,42,43の右側に配置された項目44,45,46は、それぞれのフィールドにマッピングされるエリアの属性を表す情報である。エリアの属性とは、そのエリアがデータを入力するためのエリアか、データを表示するためのエリアか、あるいは、行見出しエリアかまたは列見出しエリアかを表す情報である。例えば、報告数値43の属性は「入力セル」と表示されている。これは、報告数値43がマッピングされるエリアはデータを入力するためのエリアとして設定されていることを示す。すなわち、データ入出力フォーム30のデータエリア32にデータが入力されてデータベース25に格納される。逆に、「出力セル」と表示されている場合は、データベース25のデータが読み出されてデータエリア32に表示される設定である。
In FIG. 2,
マッピングリスト50は、データ入出力フォーム30および対応するフィールド情報40を切り替えるための表示である。現在表示されている「LIST1」は、損益計算書のマッピングリストである。マッピングリストを選択することにより、他のデータ入出力フォーム30を選択でき、マッピングを行うことができる。
The
再び図1を参照して、データマッピング装置1の構成について説明する。データマッピング装置1は、表示されたデータ入出力フォーム30のエリアおよび対応するフィールドを指定する指定手段13と、指定手段13によって指定された複数のエリアの整合性を判定する判定手段14と、指定されたエリアとフィールドをマッピングするマッピング手段15を備えている。
With reference to FIG. 1 again, the configuration of the
指定手段13は、例えば、マウス23により指定された範囲をエリアと認識する。そして、指定されたエリアがフィールドにドラッグアンドドロップされることにより、エリアのマッピング先として指定されたフィールドを認識する。
For example, the designating
図3は、指定手段13によってエリアおよびフィールドの指定を受け付ける際のユーザインターフェースについて説明する図である。図3に示すように、まずデータ入出力フォーム30中のエリアを指定する。この例では、データエリア32を指定している。そして、指定したデータエリア32を報告数値43のフィールドにドラッグアンドドロップする。このドラッグアンドドロップの動作により、指定手段13は、データエリア32とマッピング先の報告数値43のフィールドが指定されたことを認識する。このとき、「マッピング設定」ウィンドウにフィールドの属性を示す項目をポップアップ表示し、指定したエリアの属性が「入力セル」か「出力セル」か、をユーザに選択させる。
FIG. 3 is a diagram for explaining a user interface when the
図4は、指定手段13によって列見出しエリア34および対応する会社のフィールドの指定を受け付ける際のユーザインターフェースについて説明する図である。図4に示されるように、データエリア32と同様に列見出しエリア34を「会社名」のフィールドにドラッグアンドドロップすることにより、列見出しエリア34と会社名42を指定できる。このときに、データ入出力フォーム30の列見出しエリア34に、会社名の選択肢をポップアップ表示するように設定することができる。
FIG. 4 is a diagram illustrating a user interface when the
図5は、列見出しエリア34に会社の選択肢をポップアップ表示するための設定画面である。列見出しエリア34にポップアップ表示する情報をユーザに設定させる。ここでは、図5に示すように、列見出しエリア34にポップアップ表示するデータを会社マスタから読み出すことが設定されている。この設定により、データ入出力フォーム30の列見出しエリア34の内容をポップアップ表示された会社名の中から選択可能となる。
FIG. 5 is a setting screen for popping up company options in the
判定手段14は、指定されたデータエリア32と、指定された行見出しエリア33または列見出しエリア34との整合性を判定する機能を有する。例えば、行見出しエリア33の行数が指定されたデータエリア32の行数より多い場合、または列見出しエリア34の列数がデータエリア32の列数より多い場合に、データエリア32と行見出しエリア33または列見出しエリア34とが整合しないと判定する。整合しないと判定された場合には、ユーザに対して再度エリアの指定を促す。この判定手段14を備えることにより、データマッピング装置1は、誤ったエリア指定がなされた場合にはデータマッピング処理を停止でき、バグのあるデータ入出力装置の作成を回避できる。このようなユーザ支援のための手段を備えることにより、作成されるデータ入出力装置の信頼性を向上できる。
The
マッピング手段15は、指定手段13によって指定されたエリアとフィールドをマッピングする機能を有する。マッピングにより、データ入出力フォーム30のセルと、そのセルのデータの格納場所が関連付けられる。このとき、データエリア32内でのセルの位置情報および行見出しエリア33または列見出しエリア34内でのセルの位置情報に基づいて、それぞれのエリア内のセルが関連付けられる。以下、この点について説明する。
The
図6は、データマッピングについて説明するための図である。図6に示すように、それぞれのセルはエリア内での位置情報を有する。図6では、エリア内でのセルの位置情報を記載した。データエリア32内のm行n列にあるセルは、D(m、n)という位置情報を有する。また、行見出しエリア33内のセルも上から何行目かの位置情報を有する。すなわち、上からm行目のセルは、Rmという位置情報を有する。列見出しエリア34内のセルも左から何列目かの位置情報を有する。すなわち、左からn列目のセルは、Cnという位置情報を有する。この位置情報に基づいて、マッピング手段15は、データエリア32内のセルと、行見出しエリア33および列見出しエリア34内のセルの対応関係を把握できる。例えば、データエリア32内のD(1,1)に入力されるデータは、行見出しエリア33の1行目のデータと、列見出しエリア34の1列目のデータに対応する。この情報に基づいて、マッピング手段15は、データエリア32のD(1,1)に入力されたデータと、行見出しの1行目のデータと、列見出しの1列目のデータとが同一のレコードに格納されるようにマッピングすることが可能となる。
FIG. 6 is a diagram for explaining data mapping. As shown in FIG. 6, each cell has position information in the area. FIG. 6 shows cell position information in the area. A cell in m rows and n columns in the
図7(a)および図7(b)は、マッピングについて説明するための図である。図7(a)は、データマッピング装置1により作成されたデータ入出力装置を用いてデータ入出力フォームを表示した例を示す図、図7(b)は、図7(a)のデータ入出力フォームに入力されたデータがデータベースに格納された例を示す図である。上記したようにデータ入出力フォーム30のセルがデータベース25のフィールドにマッピングされることにより、データエリア32、行見出しエリア33、列見出しエリア34の対応するセルのデータがデータベース25の同一のレコードに格納される。例えば、データ入出力フォーム30の1行1列を参照すると、A会社の売上高は「10000」である。行見出しエリア33の1行目は「売上高」であり、列見出しエリア34の1列目は「A会社」である。位置情報に基づいてデータベース25に格納されることにより、データベース25の1レコード目に見られるようにデータが格納される。
FIG. 7A and FIG. 7B are diagrams for explaining the mapping. FIG. 7A shows an example of displaying a data input / output form using the data input / output device created by the
次に、第1の実施形態に係るデータマッピング装置1の動作について説明する。
Next, the operation of the
図8は、データマッピング装置1の動作を示すフローチャートである。まず、データマッピング装置1は、データ入出力フォーム30を表示する(S10)。データ入出力フォーム30は、あらかじめ表計算ソフトにより作成されたデータ入出力フォーム30を読み込むことにより、データ入出力フォーム30を表示する。続いて、データマッピング装置1は、データベース制御手段16によってデータベース25の情報を取得し、データベース25のフィールド情報40を表示する(S12)。ここでは、データ入出力フォーム30とフィールド情報40を順番に表示しているが、データ入出力フォーム30とフィールドの情報をあらかじめ読み込んでおき、同時に表示してもよい。また、複数のデータ入出力フォーム30とそれに対応するフィールドの情報をあらかじめ複数読み込んでおいてもよい。そして、どのデータ入出力フォーム30についてデータマッピングするかユーザに選択させ、選択されたデータ入出力フォーム30およびそれに対応するフィールドの情報を表示してもよい。
FIG. 8 is a flowchart showing the operation of the
次に、データマッピング装置1は、エリアの指定を受け付ける(S14)。データエリア32、行見出しエリア33、列見出しエリア34の各エリアの指定の順序は自由である。以下の説明では、データエリア32の指定から開始したとする。データエリア32を指定し、指定されたデータエリア32をフィールドにドラッグアンドドロップし、データエリア32をマッピングするフィールドを指定する(S16)。
Next, the
次に、データマッピング装置1は、指定されたエリアの属性選択を受け付ける(S18)。データエリア32の属性が入力セルであるか、または出力セルであるかの選択を受け付ける。そして、データマッピング装置1は、指定されたデータエリア32と、指定されたフィールドと、選択された属性に基づいて、データ入出力フォーム30のデータエリア32とフィールドをマッピングする(S20)。
Next, the
次にデータマッピング装置1は、データ入出力フォーム30のすべてのエリアの指定が終了したか否かを判定する(S22)。すべてのエリアの指定が終了した場合には、整合性判定のステップS24に移行する。他に指定すべきエリアがある場合には、エリア指定のステップS14に移行する。この例では、データエリア32に続いて行見出しエリア33をマッピングする。
Next, the
行見出しエリア33を指定し(S14)、指定された行見出しエリア33を対応するフィールドにドラッグアンドドロップし、行見出しエリア33をマッピングするフィールドを指定する(S16)。次に、データマッピング装置1は、指定されたエリアの属性選択を受け付ける(S18)。ここでは、指定されたエリアは行見出しエリア33であり、行見出しエリア33の属性が選択される。そして、データマッピング装置1は、指定された行見出しエリア33と、指定されたフィールドと、選択された属性に基づいて、データ入出力フォーム30の行見出しエリア33とフィールドをマッピングする(S20)。
The
以下、列見出しエリア34についても同様に、対応するフィールドとのマッピングが行われる。そして、全エリアが指定されたか否かの判定(S22)により、全エリアについてマッピングが終了したと判定されると、データマッピング装置1は、指定されたエリアの整合性がとれているか判定する(S24)。整合性の判定は、データエリア32の行数と行見出しエリア33の行数、およびデータエリア32の列数と列見出しエリア34の列数に基づいて行う。例えば、行見出しエリア33の行数がデータエリア32の行数より多い場合には、指定されたデータエリア32と指定された行見出しエリア33の整合性がとれていないと判定し、データマッピング装置1は、再度エリア指定を促す(S26)。
Thereafter, the
整合性がとれていると判定された場合に、データマッピング装置1によるデータマッピングの動作は終了する。以上、実施形態に係るデータマッピング装置1の動作について説明した。
When it is determined that consistency is achieved, the data mapping operation by the
本発明の第1の実施形態に係るデータマッピング装置1においては、データ入出力フォーム30がデータエリア32とそれに対応する行見出しエリア33および列見出しエリア34を有する。そして、データエリア32内のセルとそのセルの行に対応する行見出しエリア33のセル、およびデータエリア32内のセルの列に対応する列見出しエリア34のセルが対応付けられる。対応付けられたデータエリア32、行見出しエリア33、列見出しエリア34のセルのデータがデータベース25の同一レコードに格納される。これにより、それぞれのセルごとにマッピングを行わなくてもよい。従って、データ入出力フォーム30のエリアおよび対応するフィールドを画面上で指定するという簡易な操作により、データ入出力フォーム30の指定したエリア内のセルと、データベース25のフィールドをマッピングすることができる。
In the
また、第1の実施形態に係るデータマッピング装置1では、それぞれのエリアにおけるセルの位置情報に基づいて、異なるエリア間でセルのデータを対応させている。すなわち、データ入出力フォーム内におけるセルの位置に関わりなく、エリアにおける位置によって異なるエリア間でセルを関係付けている。これにより、データ入出力フォーム30のデザイン変更によってデータエリア32と見出しエリア33,34の位置関係がずれても、セルのデータの対応を保つことができる。
Further, in the
また、エリア単位でフィールドにマッピングしているので、エリアに行または列が追加された場合にも、マッピングを有効に保つことができる。例えば、図2に示すデータ入出力フォーム30において、「売上高」と「売上原価」の間に「営業費用」の行を追加する場合、それぞれの勘定科目が行見出しエリア内で何番目にあるかという情報と、データエリア内のセルが何行目かという情報が対応してシフトする。従って、行挿入のデザイン変更があっても、行見出しエリアとデータエリア内のセルの対応関係は保たれる。
In addition, since the mapping is performed in the area unit, the mapping can be kept valid even when a row or a column is added to the area. For example, in the data input /
また、第1の実施形態に係るデータマッピング装置1においては、指定されたデータエリア32と、行見出しエリア33または列見出しエリア34の整合性を判定し、整合性がとれていない場合にエリアの再指定を促す。誤ったエリア指定に基づくマッピングを行わず、バグのあるデータ入出力装置が作成される可能性を低減できる。
In the
次に、本発明の実施形態に係るプログラムについて説明する。既に述べたように、実施形態に係るプログラムが実行されることにより、上記のデータマッピング装置1が実現される。
Next, a program according to the embodiment of the present invention will be described. As described above, the
図9は、実施形態のプログラム60の構成を示す図である。データマッピングプログラム60は、入出力フォーム表示モジュール61、フィールド表示モジュール62、指定モジュール63、判定モジュール64およびマッピングモジュール65を有する。
FIG. 9 is a diagram illustrating a configuration of the
入出力フォーム表示モジュール61は、コンピュータによって実行することにより、データ入出力フォーム30を表示するモジュールである。フィールド表示モジュール62は、コンピュータによって実行することにより、データベース25のフィールドに関する情報を表示するモジュールである。指定モジュール63は、コンピュータによって実行することにより、データ入出力フォーム30のエリアの指定およびそのエリアに対応するフィールドの指定をコンピュータが受け付けることができるようにするモジュールである。判定モジュール64は、コンピュータによって実行することにより、指定された複数のエリアの整合性を判定するモジュールである。マッピングモジュール65は、コンピュータによって実行することにより、指定されたエリアと指定されたフィールドをマッピングするモジュールである。
The input / output
このデータマッピングプログラム60をコンピュータによって実行することにより、上記したデータマッピング装置1を実現でき、簡易な操作でデータ入出力フォームのセルとデータベースの格納場所とをマッピングできる。
By executing the
また、上記プログラムを記録媒体に記録することにより、本発明の実施形態に係る記録媒体を構成することができる。記録媒体をコンピュータで読み取って実行することにより、上記プログラムと同様に、簡易な操作でデータ入出力フォームのセルとデータベースの格納場所とをマッピングできるデータマッピング装置を実現できる。 Moreover, a recording medium according to an embodiment of the present invention can be configured by recording the program on a recording medium. By reading the recording medium with a computer and executing it, a data mapping apparatus capable of mapping the cell of the data input / output form and the storage location of the database can be realized with a simple operation, similar to the above program.
以上、本発明の第1の実施形態に係るデータマッピング装置1およびデータマッピング方法とプログラム60について説明した。
The
上記データマッピング装置1においては、データ入力用のセルで構成されたデータエリア32と行見出しエリア33および列見出しエリア34を有するデータ入出力フォーム30を例として説明したが、行見出しエリア33または列見出しエリア34の一方のみを有するデータ入出力フォーム30にも本発明を適用することができるのは言うまでもない。また、本発明は、その他の形式のデータ入出力フォーム30にも適用可能である。以下、他のデータ入出力フォーム30について説明する。
In the
図10は、データ入力用のセルで構成されたデータエリア32とデータ表示用のセルで構成されたデータエリア35を有するデータ入出力フォーム30の例を示す図である。この例では、列見出しの「当期」に対応するデータエリア32は入力用のデータエリアであり、列見出しの「前期」に対応するデータエリア35は表示用のデータエリアである。このデータ入出力フォーム30では、入力用のデータエリア32に入力されたデータがデータベース25に格納され、表示用のデータエリア35にはデータベース25に格納されているデータが表示される。
FIG. 10 is a diagram showing an example of a data input /
このデータ入出力フォーム30のマッピングは、例えば、マッピングリスト「LIST1」でデータエリア32をマッピングし、マッピングリスト「LIST2」でデータエリア35のマッピングを行う。データエリア35をフィールド47にマッピングした際に、データエリア35の属性として「出力セル」を選択することにより、データエリア35の属性を表示用に設定することができる。なお、これにより、マッピングリストにおけるTypeが「Refer」となる。これは、データエリアがデータを表示することを意味する。このように、入力セルと出力セルの両方を含むデータエリアを持ったデータ入出力フォーム30の場合にも、エリアとデータベース25のフィールドを指定するという簡易な操作で、データ入出力フォーム30のセルとデータベース25のデータの格納場所をマッピングできる。
For example, the data input /
図11は、一セルからなる見出し36が設けられたデータ入出力フォーム30の例を示す図である。この例では、シート全体に一つの見出し36が付されている。この見出し36を対応する「商品コード」のフィールドにドラッグアンドドロップすることにより、見出し36がデータエリア32に入力されるすべてのデータに関連付けられる。
FIG. 11 is a diagram showing an example of the data input /
また、図11に示す例では、データエリア32は、1列ずつエリア32a、32b、32cに分かれている。それぞれのエリアには、「在庫金額」「未着品」「評価減」のデータが入力される。上記した実施形態では、複数列からなるエリアによって一つのデータエリア32が構成されていた。例えば、図2に示すデータ入出力フォームでは、データエリア32の各列は、「A会社」「B会社」に関するデータであることを示す。この場合、データベース25において、「会社名」のフィールドに「A会社」「B会社」のいずれかのデータが入力され、データエリア32のデータは「A会社」「B会社」のいずれかのデータに対応付けられ、同一レコードに格納される。これに対し、図11に示すデータ入出力フォームでは、それぞれのデータエリア32a,32b,32cがデータベース25の別々のフィールド「在庫金額」「未着品」「評価減」に対応する。このデータ入出力フォーム30でも、図11に示すようにそれぞれの列見出しエリア32a,32b,32cと対応するフィールドを指定することにより、マッピング可能である。
In the example shown in FIG. 11, the
また、上記実施形態では、行見出しエリア33、列見出しエリア34の2つの見出しエリアを有するデータ入出力フォーム30を例として説明したが、本発明は、見出しエリアが3つ以上あるデータ入出力フォームにも適用可能である。例えば、図12に示すように、勘定科目を示す行見出しエリア33と、期間を示す列見出しエリア34と、会社を示すシート見出しエリア37を有してもよい。この場合には、データエリア内のセルは、(シート情報、行情報、列情報)の3つの情報によって位置を表現できる。この位置情報に基づいて、データエリア32のセルのデータと、それぞれの見出しエリアのセルの対応するデータとをデータベース25の同一レコードに格納できる。このように、セルの位置を管理する情報を多次元にすることにより、見出しの数が3つ以上であっても対応可能である。
In the above-described embodiment, the data input /
図13は、複数のデータエリア32,38が行見出しエリア33を共有するデータ入出力フォーム30を示す図である。このようなデータ入出力フォーム30のデータマッピングを行う場合には、それぞれのデータエリア32,38ごとに行見出しエリア33および列見出しエリア34をマッピングすることも可能であるが、マッピング済の行見出しエリア33の情報を流用することにより、マッピングを容易にすることができる。例えば、最初に左側のデータエリア32についてマッピングし、次に右側のデータエリア38をマッピングする際には、データエリア32でマッピングした行見出しエリア33の情報を流用する。
FIG. 13 is a diagram showing a data input /
図14は、行見出しエリア33の流用を設定する画面を示す。例えば、行見出しとなる勘定科目をクリックすることにより、ポップアップを表示する。ポップアップには、既にマッピングされた行見出しの一覧が表示される。このポップアップ表示から、流用する行見出しを選択することにより、再度行見出しエリア33をドラッグアンドドロップしないでマッピング可能である。データ入出力フォーム30が大きくてモニタ21に入りきらない場合にも、マッピングを容易に行える。
FIG. 14 shows a screen for setting the diversion of the
次に、本発明の第2の実施形態のデータマッピング装置1について説明する。第2の実施形態のデータマッピング装置1は、データを入出力するためのセルがマトリックス状に並んだシートにデータ入出力フォームを作成し、作成したデータ入出力フォームとデータベースと連携させる装置である。以下の説明では、データベースのデータを出力する出力用のデータ出力フォームを作成する例について説明するが、第2の実施形態のデータマッピング装置1によりデータ入出力用のデータ入出力フォームを作成することも可能である。
Next, the
図15は、第2の実施形態のデータマッピング装置1の構成を示す図である。第2の実施の形態のデータマッピング装置1は、第1の実施形態のデータマッピング装置1と基本的な構成は同じであるが、データ入出力フォーム表示手段11に代えてシート表示手段17を備え、さらに、基点セル受付手段18およびエリア種別設定手段19を備えている。また、判定手段14は、第1の実施形態のデータマッピング装置1と同様の整合性の判定に加え、データエリアおよび見出しエリアが適切な場所に設定されているか否かを判定する。
FIG. 15 is a diagram illustrating a configuration of the
シート表示手段17は、マトリックス状に配置された複数のセルを有するシートを表示する機能を有する。本実施の形態では、このシートに出力用のデータ出力フォームを作成する。 The sheet display means 17 has a function of displaying a sheet having a plurality of cells arranged in a matrix. In this embodiment, a data output form for output is created on this sheet.
エリア種別設定手段19は、表示されたシートにデータエリアを設定可能な範囲と見出しエリアを設定可能な範囲を設定する機能を有する。エリア種別設定手段19は、基点セル受付手段18にて受け付けた基点セルに基づいてシートをそれぞれの範囲に分ける。
The area
図16は、基点セル受付手段18による基点の受付時の画面の例を示す図である。図16に示すように、シート表示手段17は、見出しエリア、データエリアが定義されていないシートを表示する。このシートの任意のセル71にフォーカスを当てた状態で基点設定ボタン70を押すことにより、基点セル受付手段18は、フォーカスが当てられたセル71を基点セルとして受け付ける。
FIG. 16 is a diagram illustrating an example of a screen when a base point is received by the base point
エリア種別設定手段19は、図17に示すように、基点セル71の左上の点を通る縦軸72、横軸73によってシートを4つの範囲に分割し、右下の範囲をデータエリア設定可能範囲74とし、残りの範囲を見出しエリア設定可能範囲75とする。シートは、右方向および下方向に向かって延びているので、4つの範囲のうちの右下の範囲をデータエリア設定可能範囲74とすることにより、データを出力するエリアの大きさが制限されず、データベース25のデータ量の変動にも対応できる。また、データエリア設定可能範囲74の上側および左側に見出しエリア設定可能範囲75があるので、データエリアに対応する見出しエリアを設定することが可能となる。
As shown in FIG. 17, the area type setting means 19 divides the sheet into four ranges by a
第2の実施形態においては、HDDのデータベース25には、各フィールドに格納されるデータの種別情報が記憶されている。データ種別情報とは、各フィールドに格納されるデータが、見出しのデータであるか、見出しに対応する値のデータであるかを識別するための情報である。例えば、図18に示すように、会計報告データにおいては、勘定項目や会社名のデータ種別は見出しであり、勘定科目や会社に対応する報告数値のデータ種別は値である。
In the second embodiment, the
判定手段14は、指定手段13によって指定されたデータエリアまたは見出しエリアがシート上の適切な場所に指定されたか否か、すなわち、シート上のエリアの種別とフィールドのデータ種別が一致しているか否かを判定する機能を有する。具体的には、判定手段14は、データ種別が見出しのフィールドに対応付けられたエリアを見出しエリア、データ種別が値のフィールドに対応付けられたエリアをデータエリアとし、見出しエリアが見出しエリア設定可能範囲内にあるか、データエリアがデータエリア設定可能範囲内にあるかを判定する。また、判定手段14は、第1の実施の形態と同様に、指定された列見出し、行見出しとデータエリアとの整合性を判定する機能も有する。
The
図19は、第2の実施形態のデータマッピング装置1の動作を示す図である。第2の実施形態では、データマッピング装置1は、まず、シート表示手段17によってシートを表示し(S30)、フィールド表示手段12によってデータベース25のフィールドを表示する(S32)。
FIG. 19 is a diagram illustrating an operation of the
続いて、データマッピング装置1は、基点セルの設定を受け付ける(S34)。基点セルの設定を受け付けると、データマッピング装置1のエリア種別設定手段19は、設定された基点セルに基づいて、シートをデータエリア設定可能範囲および見出しエリア設定可能範囲を設定する(S36)。なお、基点セルに基づくデータエリア設定可能範囲および見出しエリア設定可能範囲の設定は、図17で説明した方法により行う。
Subsequently, the
次に、データマッピング装置1の指定手段13は、エリアの指定を受け付け(S38)、指定されたエリアに対応付けるフィールドの指定を受け付ける(S40)。図20は、エリアの指定とフィールドの指定を受け付けるときの画面例を示す図である。図20に示すように、シート上のエリアを指定し、指定されたエリアをフィールドにドラッグアンドドロップすることにより、エリアをマッピングするフィールドを指定する。
Next, the
データマッピング装置1の判定手段14は、指定されたエリアの種別とフィールドのデータ種別が一致しているか否かを判定する(S42)。具体的には、判定手段14は、フィールドのデータ種別情報をデータベース25から読み出し、読み出したデータ種別情報に基づいて、各フィールドに対応付けられたエリアの種別を決定する。すなわち、データ種別が見出しのフィールドに対応付けられたエリアを見出しエリア、データ種別が値のフィールドに対応付けられたエリアをデータエリアとする。そして、判定手段14は、見出しエリアが見出しエリア設定可能範囲内にあるか、データエリアがデータエリア設定可能範囲内にあるかを判定する。図20の例では、見出しのフィールド41,42に対応付けられた見出しエリア76,77は見出しエリア設定可能範囲内にあり、データ種別が値のフィールド43に対応付けられたデータエリア78はデータエリア設定可能範囲内にあるので、判定手段14は、エリア指定が整合していると判定する。これに対し、図21に示す例では、データ種別が値のフィールド43に対応付けられたエリア76がデータエリアと決定され、データエリアが見出しエリア設定可能範囲内にあるので、判定手段14はエリアとフィールドに対応付けに不整合があると判定する。そして、データマッピング装置1は、エリア指定の誤りをユーザに知らせる(S50)。
The
判定手段14による判定によってエリアとフィールドの種別が整合していると判定されたときには、データマッピング装置1は、指定されたエリアとフィールドのマッピングを行う(S44)。以下の動作は第1の実施の形態と同様で、データマッピング装置1は、全エリアが指定されたか否かを判定し(S46)、全エリアについてマッピングが終了したと判定されると、データマッピング装置1は、指定されたエリアの整合性がとれているか判定する(S48)。整合性がとれていると判定された場合に、データマッピング装置1によるデータマッピングの動作は終了し、整合性がとれていないと判定された場合は、再度エリア指定を促す(S50)。
When it is determined by the
次に、第2の実施の形態のデータマッピング装置1で作成されたデータ出力フォームへのデータ出力例について説明する。図22は、データベース25に格納されたデータの例を示す図である。図20の例のようにエリアとフィールドとがマッピングされた場合、図22に示すデータベース25のデータから図23に示す画面が出力される。すなわち、行見出しエリア76が勘定科目にマッピングされているので(図20参照)、行見出しにはデータベース25の勘定科目のフィールドからデータが読み出される。また、列見出しエリア77が会社名にマッピングされているので(図20参照)、列見出しにはデータベース25の会社名のフィールドからデータが読み出される。そして、データエリア78の各セルには、各セルの位置に対応する行見出し、列見出しのデータと、同一レコードに格納されているデータが読み出される。例えば、データエリアの2行1列にあるセル79に読み出されるデータは次のように求められる。2行1列にあるセル79に対応する行見出しのデータは「売上原価」であり、対応する列見出しのデータは「A」である。従って、図22に示すデータベース25において、「売上原価」「A」と同じレコードに格納された報告数値は、3行目の「50」である。従って、2行1列にあるセル79には、「50」という値が読み出される。
Next, an example of data output to the data output form created by the
以上、本発明の第2の実施形態のデータマッピング装置1について説明した。
The
第2の実施形態のデータマッピング装置1は、マトリックス状に配置された複数のセルを有するシートにおいて、セルを含むエリアとデータベースのフィールドとを対応付けることにより、対応付けられたエリアとフィールドとがマッピングされ、シートにデータ出力フォームを作成することができる。
The
また、第2の実施形態のデータマッピング装置1は、シートにデータエリア設定可能範囲と見出しエリア設定可能範囲を設定し、エリアとフィールドの指定がなされた際に、指定されたエリアの種別とフィールドのデータ種別が一致しているか否かを判定する。これにより、誤ったエリア指定を防止し、データ入出力装置を作成するユーザを支援することができる。
The
上記した第2の実施形態では、最初に基点セルの設定を受け付けて、データエリア設定可能範囲と見出しエリア設定可能範囲とを設定したが、エリアとフィールドの対応付けの指定を受け付けた後に、基点セルの設定を受け付けてもよい。すなわち、後から基点セルを受け付けてデータエリア設定可能範囲と見出しエリア設定可能範囲を設定し、それまでに行われたエリアとフィールドの指定に不整合があるか否かをチェックしてもよい。 In the second embodiment described above, the setting of the base cell is first accepted and the data area settable range and the heading area settable range are set. However, after the designation of the association between the area and the field is received, the base point is set. Cell settings may be accepted. In other words, the base cell may be received later, the data area setting range and the heading area setting range may be set, and it may be checked whether or not there is an inconsistency in the area and field designations performed so far.
次に、本発明の第3の実施形態のデータマッピング装置について説明する。第3の実施形態のデータマッピング装置は、基本的な構成および動作は第2の実施形態のデータマッピング装置と同じであるが(図15、図19参照)、各エリアの範囲を動的に設定できる点が第2の実施形態のデータマッピング装置と異なる。以下の説明では、列見出しエリアを動的に設定する例について説明するが、行見出しエリアについても同様に動的な設定が可能である。 Next, a data mapping apparatus according to the third embodiment of the present invention will be described. The data mapping apparatus of the third embodiment has the same basic configuration and operation as the data mapping apparatus of the second embodiment (see FIGS. 15 and 19), but dynamically sets the range of each area. This is different from the data mapping apparatus of the second embodiment. In the following description, an example in which the column heading area is dynamically set will be described. However, the row heading area can be set dynamically as well.
図24は、列見出しエリアを動的に設定するときの画面例を示す図である。図24の例では、データ出力フォーム作成用の画面は、列見出しを会社名のフィールドに対応付けたときに、会社名の出力についてのオプションを選択するインターフェース80を表示する。このインターフェース80にて自動展開を選択した場合、データ出力フォームへのデータ出力時には、データベース25に格納されたすべての会社について列見出しが展開されて出力される。
FIG. 24 is a diagram illustrating a screen example when the column heading area is dynamically set. In the example of FIG. 24, the screen for creating a data output form displays an
図25は、自動展開を設定したときのデータの出力例を示す図である。図24に示すように、列見出しとして1つのセルを指定しているが、自動展開のオプションを選択することにより、データ出力フォームには、データベース25内にある会社名が順次読み出されて列見出しを構成する。具体的には、読み出された会社の数に応じて列が追加され、追加された列に列見出しエリアが構成される。例えば、10社のデータが読み出された場合には、9列追加して全部で10列の列見出しエリアが表示される。列の追加により拡張されることにより、列見出しエリアの拡張に伴ってデータエリアも拡張される。従って、列見出しエリアに対応するデータをデータエリアに表示できる。
FIG. 25 is a diagram illustrating an output example of data when automatic expansion is set. As shown in FIG. 24, one cell is specified as the column heading. By selecting the automatic expansion option, the company name in the
図24において、列見出しエリアとデータエリアの列が対応していたので、図25に示すように、列が追加されて列見出しエリアおよびデータエリアが拡張された場合にも両者の関係が崩れることがなく、整合性を保った適切なデータ入出力フォームを表示できる。 In FIG. 24, since the column heading area and the data area column correspond to each other, as shown in FIG. 25, when the column is added and the column heading area and the data area are expanded, the relationship between the two is broken. There is no, and it is possible to display an appropriate data input / output form with consistency.
このような自動展開の機能を用いることにより、データベース25内のデータ数に合わせて見出しエリアを指定する必要がなくなるので、データ出力用のフォームにおいて特に有効である。
By using such an automatic expansion function, it is not necessary to specify a heading area in accordance with the number of data in the
自動展開の機能を使用するときには、データ入出力フォームの作成時には、データ出力時のデータ入出力フォームの広がりを予測できないが、第2の実施形態で説明したように、見出しエリアの自動展開によってデータエリアが拡大する範囲にデータエリア設定可能範囲を規定し、この範囲に見出しエリアを指定できなくしているので、自動展開時のデータ出力フォームの整合性を保つことができる。 When the automatic expansion function is used, when the data input / output form is created, the spread of the data input / output form at the time of data output cannot be predicted. However, as described in the second embodiment, data is automatically generated by the automatic expansion of the heading area. Since the data area setting range is defined in the area where the area expands and the heading area cannot be specified in this range, the consistency of the data output form at the time of automatic expansion can be maintained.
また、第3の実施形態では、出力時においてもデータ入出力フォームの整合性を保つために、判定手段14は、列見出しエリアおよびデータエリアの設定時に、第2の実施の形態で説明した整合性チェックに加え、次の整合性チェックを行い、整合性がとれていない場合には、エリア設定の不整合をユーザに通知することが好ましい。第1に、自動展開オプションが設定された列見出しエリアとデータエリアの位置が対応しているか否か、すなわち同じ列にあるか否かのチェックを行う。これは上述したように、データ出力時に自動展開されたデータ入出力フォームにおいて、列見出しエリアとデータエリアとの関係が崩れないようにするためである。第2に、自動展開オプションが設定された列見出しエリアと同じ列に別の見出しエリアが存在しないかチェックする。自動展開オプションが設定された列見出しエリアはデータ出力時に列が追加されるので、同じ列に別の見出しエリアがあるとその見出しエリアにも列が追加されるという不都合が生じる。第2の整合性チェックにより、拡張設定された列見出しエリアと同じ列に別の見出しを設定させないことにより、上記した不都合を防止できる。
In the third embodiment, in order to maintain the consistency of the data input / output form even at the time of output, the
なお、図24に示すインターフェース80にて、固定見出しを選択した場合には、指定したエリアに合った数の会社名の見出しが出力される。例えば、3列の見出しが指定されたときは、3つの会社のデータが出力される。この際、データベース25に格納された会社の数が指定した列見出しの数より多い場合には、出力する会社を会社マスタから選択してもよい。
Note that when a fixed headline is selected on the
また、第2の実施形態または第3の実施形態のデータマッピング装置1の各構成要素の機能を実現するモジュールを備えたプログラムも本発明の範囲に含まれる。
Moreover, the program provided with the module which implement | achieves the function of each component of the
以上説明したように、本発明は、データ入出力フォームのデータエリアおよび見出しエリアの各セルに対して、そのセルのデータの格納場所を個々に指定する必要がなく、データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行えるという効果を有し、データ入出力フォームとデータベースとを連携したデータ入出力装置を作成するためのデータマッピング装置等として有用である。 As described above, according to the present invention, it is not necessary to individually specify the storage location of the cell data for each cell in the data area and heading area of the data input / output form. It is effective as a data mapping device for creating a data input / output device that links a data input / output form and a database.
1・・・データマッピング装置、10・・・制御部、11・・・入出力フォーム表示手段、12・・・フィールド表示手段」、13・・・指定手段、14・・・判定手段、15・・・マッピング手段、16・・・データベース制御手段、21・・・モニタ、22・・・キーボード、23・・・マウス、24・・・HDD、25・・・データベース、30・・・データ入出力フォーム、40・・・フィールド情報。
DESCRIPTION OF
Claims (24)
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示する手段と、
前記データベースの複数のフィールドを表示する手段と、
前記データ入出力フォームのデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリア内のセルのデータに関する情報を表示する見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付ける手段と、
前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする手段と、
を備えることを特徴とするデータマッピング装置。 A data mapping device for creating a data input / output device that links a data input / output form for inputting or displaying data and a database,
Means for displaying the data input / output form having a plurality of cells capable of inputting or displaying data;
Means for displaying a plurality of fields of the database;
Means for accepting designation of the data area of the data input / output form and the field corresponding to the data area, the heading area for displaying information on the data of the cells in the data area, and the designation of the field corresponding to the heading area When,
The data of the cells in the data area and the heading area are stored in the designated fields, respectively, and the data of the cells of the data area and the data of the cells of the heading area corresponding to the position of the cell are the same record Means for mapping to be stored in
A data mapping apparatus comprising:
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示する手段と、
前記データベースの複数のフィールドを表示する手段と、
前記セルがマトリックス状に配置されたデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリアの行または列に対応して配置された見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付ける手段と、
前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの行または列の位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングする手段と、
を備えることを特徴とするデータマッピング装置。 A data mapping device for creating a data input / output device that links a data input / output form for inputting or displaying data and a database,
Means for displaying the data input / output form having a plurality of cells capable of inputting or displaying data;
Means for displaying a plurality of fields of the database;
Specification of the data area in which the cells are arranged in a matrix and the field corresponding to the data area, the heading area arranged in correspondence with the row or column of the data area, and the field corresponding to the heading area Means to accept the designation;
The data of the cells in the data area and the header area are stored in the designated fields, respectively, and the data of the cells in the data area and the data of the cells in the header area corresponding to the row or column position of the cells Means for mapping so that is stored in the same record;
A data mapping apparatus comprising:
前記マッピングする手段は、前記見出しエリアと前記データエリアが対応しているとの判定に応じてマッピングすることを特徴とする請求項2に記載のデータマッピング装置。 Means for determining whether or not the designation of the heading area and the data area corresponds based on the number of cells of the designated heading area and the number of cells in the row or column of the designated data area; In addition,
3. The data mapping apparatus according to claim 2, wherein the mapping unit performs mapping according to determination that the heading area and the data area correspond to each other.
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示する手段と、
前記データベースの複数のフィールドを表示する手段と、
前記データ入出力フォームのエリアが、表示された前記フィールドのいずれかにドラッグアンドドロップされることに応じて、前記エリア内のセルのデータが当該フィールドに格納されるようにマッピングする手段と、
を備えることを特徴とするデータマッピング装置。 A data mapping device for creating a data input / output device that links a data input / output form for inputting or displaying data and a database,
Means for displaying the data input / output form having a plurality of cells capable of inputting or displaying data;
Means for displaying a plurality of fields of the database;
Means for mapping so that data of cells in the area is stored in the field in response to the area of the data input / output form being dragged and dropped into any of the displayed fields;
A data mapping apparatus comprising:
データを入力または表示可能な複数のセルを有するシートを表示する手段と、
前記データベースの複数のフィールドを表示する手段と、
前記各フィールドに格納されるデータが、見出しのデータであるか、見出しに対応する値のデータであるかを識別するデータ種別情報を記憶する記憶手段と、
前記シートにおいて少なくとも一のセルを含むエリア、および前記エリアに対応付ける前記フィールドの指定を受け付ける手段と、
前記記憶手段から読み出したフィールドのデータ種別情報に基づいて、見出しのデータが格納されるフィールドに対応付けられたエリアを見出しエリアとし、値のデータが格納されるフィールドに対応付けられたエリアをデータエリアとし、前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードを構成するようにマッピングする手段と、
を備えることを特徴とするデータマッピング装置。 A data mapping device for creating a data input / output device that links a data input / output form for inputting or displaying data and a database,
Means for displaying a sheet having a plurality of cells into which data can be entered or displayed;
Means for displaying a plurality of fields of the database;
Storage means for storing data type information for identifying whether the data stored in each field is heading data or value data corresponding to the heading;
Means for receiving an area including at least one cell in the sheet and designation of the field associated with the area;
Based on the data type information of the field read from the storage means, the area associated with the field in which the header data is stored is defined as the header area, and the area associated with the field in which the value data is stored is the data. An area and means for mapping so that the cell data of the data area and the cell data of the heading area corresponding to the position of the cell constitute the same record;
A data mapping apparatus comprising:
前記マッピングする手段は、前記見出しデータを格納するフィールドに対応付けられたエリアが前記見出しエリア設定可能範囲内にあり、かつ前記値データを格納するフィールドに対応付けられたエリアが前記データエリア設定可能範囲内にあるときに、前記マッピングを行うことを特徴とする請求項6に記載のデータマッピング装置。 An area type setting means for setting a data area settable range in which the data area can be set in the sheet and a heading area settable range in which the heading area can be set;
The mapping means has an area associated with the field storing the heading data within the heading area settable range, and an area associated with the field storing the value data can be set as the data area. 7. The data mapping apparatus according to claim 6, wherein the mapping is performed when it is within a range.
前記選択を受け付けたセルを基準とする縦軸および横軸によって仕切られた前記シートの4つの範囲のうちの1つをデータエリア設定可能範囲とし、残りの範囲を見出しエリア設定可能範囲とすることを特徴とする請求項7に記載のデータマッピング装置。 The area type setting means includes means for receiving selection of one of the cells arranged in a matrix.
One of the four ranges of the sheet partitioned by the vertical axis and the horizontal axis based on the cell receiving the selection is set as a data area settable range, and the remaining range is set as a headline area settable range. The data mapping apparatus according to claim 7.
前記データベースから読み出したデータを表示する際に、前記拡張設定がなされた見出しエリアに対応付けられたフィールドから読み出したデータに応じて、前記マトリックス状のセルに行または列を追加して前記見出しエリアおよびデータエリアを拡張するデータ入出力フォームを作成することを特徴とする請求項6に記載のデータマッピング装置。 Means for receiving an extension setting of the heading area;
When displaying the data read from the database, a row or a column is added to the matrix-like cell according to the data read from the field associated with the heading area for which the extended setting has been made, and the heading area The data mapping apparatus according to claim 6, wherein a data input / output form for expanding a data area is created.
前記行見出しエリアと同じ行または前記列見出しエリアと同じ列に別の見出しエリアが存在するとの判定に応じてエリア設定の不整合を通知する手段と、
を備えることを特徴とする請求項9に記載のデータマッピング装置。 When the extended setting is made in the row heading area corresponding to the row of the data area, it is determined whether another heading area exists in the same row as the row heading area, and the column corresponding to the column of the data area Means for determining whether or not another heading area exists in the same column as the column heading area when the extension setting is made in the heading area;
Means for notifying an inconsistency in area settings in response to the determination that another heading area exists in the same row as the row heading area or in the same column as the column heading area;
The data mapping apparatus according to claim 9, further comprising:
前記見出しエリアと前記データエリアとの位置が対応していないとの判定に応じてエリア設定の不整合を通知する手段と、
を備えることを特徴とする請求項9に記載のデータマッピング装置。 Means for determining whether or not the position of the heading area and the data area that have been extended by the setting reception means correspond to each other;
Means for notifying an inconsistency in area settings in response to a determination that the positions of the heading area and the data area do not correspond;
The data mapping apparatus according to claim 9, further comprising:
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、
前記データベースの複数のフィールドを表示するステップと、
前記データ入出力フォームのデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリア内のセルのデータに関する情報を表示する見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付けるステップと、
前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングするステップと、
を備えることを特徴とするデータマッピング方法。 A data mapping method for creating a data input / output device linking a data input / output form for inputting or displaying data and a database,
Displaying the data input / output form having a plurality of cells into which data can be entered or displayed;
Displaying a plurality of fields of the database;
A step of accepting designation of a data area of the data input / output form and the field corresponding to the data area, a heading area for displaying information relating to data of cells in the data area, and the field corresponding to the heading area When,
The data of the cells in the data area and the heading area are stored in the designated fields, respectively, and the data of the cells of the data area and the data of the cells of the heading area corresponding to the position of the cell are the same record Mapping to be stored in
A data mapping method comprising:
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、
前記データベースの複数のフィールドを表示するステップと、
前記データ入出力フォームのデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリア内のセルのデータに関する情報を表示する見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付けるステップと、
前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングするステップと、
をコンピュータに実行させることを特徴とするプログラム。 A program for linking a data input / output form for inputting or displaying data and a database,
Displaying the data input / output form having a plurality of cells into which data can be entered or displayed;
Displaying a plurality of fields of the database;
A step of accepting designation of a data area of the data input / output form and the field corresponding to the data area, a heading area for displaying information relating to data of cells in the data area, and the field corresponding to the heading area When,
The data of the cells in the data area and the heading area are stored in the designated fields, respectively, and the data of the cells of the data area and the data of the cells of the heading area corresponding to the position of the cell are the same record Mapping to be stored in
A program that causes a computer to execute.
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、
前記データベースの複数のフィールドを表示するステップと、
前記セルがマトリックス状に配置されたデータエリアおよび前記データエリアに対応する前記フィールドの指定と、前記データエリアの行または列に対応して配置された見出しエリアおよび前記見出しエリアに対応する前記フィールドの指定を受け付けるステップと、
前記データエリアおよび前記見出しエリア内のセルのデータがそれぞれ指定された前記フィールドに格納され、かつ前記データエリアのセルのデータと、当該セルの行または列の位置に対応する見出しエリアのセルのデータとが同一レコードに格納されるようにマッピングするステップと、
をコンピュータに実行させることを特徴とするプログラム。 A program for linking a data input / output form for inputting or displaying data and a database,
Displaying the data input / output form having a plurality of cells into which data can be entered or displayed;
Displaying a plurality of fields of the database;
Specification of the data area in which the cells are arranged in a matrix and the field corresponding to the data area, the heading area arranged in correspondence with the row or column of the data area, and the field corresponding to the heading area A step of accepting the designation;
The data of the cells in the data area and the header area are stored in the designated fields, respectively, and the data of the cells in the data area and the data of the cells in the header area corresponding to the row or column position of the cell Mapping so that and are stored in the same record;
A program that causes a computer to execute.
前記マッピングするステップは、前記見出しエリアと前記データエリアが対応しているとの判定に応じて、前記コンピュータにマッピングさせることを特徴とする請求項14に記載のプログラム。 Determining whether or not the heading area and the data area correspond to each other based on the designated number of cells in the heading area and the number of cells in the designated row or column of the data area; Let it run
15. The program according to claim 14, wherein the mapping step causes the computer to perform mapping in response to the determination that the heading area and the data area correspond to each other.
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、
前記データベースの複数のフィールドを表示するステップと、
前記データ入出力フォームのエリアが、表示された前記フィールドのいずれかにドラッグアンドドロップされることに応じて、前記エリア内のセルのデータが当該フィールドに格納されるようにマッピングするステップと、
をコンピュータに実行させることを特徴とするプログラム。 A program that links a data input / output form for inputting or displaying data with a database,
Displaying the data input / output form having a plurality of cells into which data can be entered or displayed;
Displaying a plurality of fields of the database;
Mapping the area of the data input / output form so that data of cells in the area is stored in the field in response to being dragged and dropped into any of the displayed fields;
A program that causes a computer to execute.
データを入力または表示可能な複数のセルを有するシートを表示するステップと、
前記データベースの複数のフィールドを表示するステップと、
前記シートにおいて少なくとも一のセルを含むエリア、および前記エリアに対応付ける前記フィールドの指定を受け付けるステップと、
前記各フィールドに格納されるデータが、見出しのデータであるか、見出しに対応する値のデータであるかを識別するデータ種別情報を記憶手段から読み出すステップと、
前記記憶手段から読み出したフィールドのデータ種別情報に基づいて、見出しのデータが格納されるフィールドに対応付けられたエリアを見出しエリアとし、値のデータが格納されるフィールドに対応付けられたエリアをデータエリアとし、前記データエリアのセルのデータと当該セルの位置に対応する前記見出しエリアのセルのデータとが同一レコードを構成するようにマッピングするステップと、
をコンピュータに実行させることを特徴とするプログラム。 A program that links a data input / output form for inputting or displaying data with a database,
Displaying a sheet having a plurality of cells into which data can be entered or displayed;
Displaying a plurality of fields of the database;
Receiving an area including at least one cell in the sheet, and designation of the field associated with the area;
Reading from the storage means data type information for identifying whether the data stored in each field is heading data or value data corresponding to the heading;
Based on the data type information of the field read from the storage means, the area associated with the field in which the header data is stored is defined as the header area, and the area associated with the field in which the value data is stored is the data. Mapping the data of the cells of the data area and the data of the cells of the heading area corresponding to the position of the cells to constitute the same record,
A program that causes a computer to execute.
前記マッピングするステップは、前記見出しデータを格納するフィールドに対応付けられたエリアが前記見出しエリア設定可能範囲内にあり、かつ前記値データを格納するフィールドに対応付けられたエリアが前記データエリア設定可能範囲内にあるときに、前記マッピングを行うことを特徴とする請求項18に記載のプログラム。 An area type setting step for setting a data area settable range in which the data area can be set in the sheet and a heading area settable range in which the heading area can be set;
In the mapping step, an area associated with a field storing the heading data is within the heading area settable range, and an area associated with the field storing the value data can be set as the data area. 19. The program according to claim 18, wherein the mapping is performed when it is within a range.
前記エリア種別設定ステップは、前記選択を受け付けたセルを基準とする縦軸および横軸によって仕切られた前記シートの4つの範囲のうちの1つをデータエリア設定可能範囲とし、残りの範囲を見出しエリア設定可能範囲とすることを特徴とする請求項19に記載のプログラム。 Receiving a selection of one of the cells arranged in a matrix,
In the area type setting step, one of the four ranges of the sheet partitioned by the vertical axis and the horizontal axis with the cell receiving the selection as a reference is set as a data area setting range, and the remaining range is found. The program according to claim 19, wherein the area setting range is set.
前記データベースから読み出したデータを表示する際に、前記拡張設定がなされた見出しエリアに対応付けられたフィールドから読み出したデータに応じて、前記マトリックス状のセルに行または列を追加して前記見出しエリアおよびデータエリアを拡張するデータ入出力フォームを作成することを特徴とする請求項18に記載のプログラム。 Causing the computer to execute a step of accepting the extension setting of the heading area;
When displaying the data read from the database, a row or a column is added to the matrix-like cell according to the data read from the field associated with the heading area for which the extended setting has been made, and the heading area 19. The program according to claim 18, wherein a data input / output form for expanding a data area is created.
前記行見出しエリアと同じ行または前記列見出しエリアと同じ列に別の見出しエリアが存在するとの判定に応じてエリア設定の不整合を通知するステップと、
をコンピュータに実行させることを特徴とする請求項21に記載のプログラム。 When the extended setting is made in the row heading area corresponding to the row of the data area, it is determined whether another heading area exists in the same row as the row heading area, and the column corresponding to the column of the data area Determining whether or not another heading area exists in the same column as the column heading area when the extension setting is made in the heading area;
Notifying inconsistencies in area settings in response to a determination that another heading area is present in the same row as the row heading area or in the same column as the column heading area;
The program according to claim 21, wherein the program is executed by a computer.
前記見出しエリアと前記データエリアとの位置が対応していないとの判定に応じてエリア設定の不整合を通知するステップと、
をコンピュータに実行させることを特徴とする請求項21に記載のプログラム。 Determining whether or not the position of the header area and the data area corresponding to the extended setting in the setting reception step correspond to each other;
Informing the area setting inconsistency in response to the determination that the positions of the heading area and the data area do not correspond;
The program according to claim 21, wherein the program is executed by a computer.
The recording medium which recorded the program in any one of Claims 13-23.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004152049A JP4636814B2 (en) | 2003-07-03 | 2004-05-21 | Data mapping apparatus, data mapping method, and program |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003190997 | 2003-07-03 | ||
JP2004152049A JP4636814B2 (en) | 2003-07-03 | 2004-05-21 | Data mapping apparatus, data mapping method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005038404A true JP2005038404A (en) | 2005-02-10 |
JP4636814B2 JP4636814B2 (en) | 2011-02-23 |
Family
ID=34220599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004152049A Expired - Lifetime JP4636814B2 (en) | 2003-07-03 | 2004-05-21 | Data mapping apparatus, data mapping method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4636814B2 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007072882A (en) * | 2005-09-08 | 2007-03-22 | Hitachi Computer Peripherals Co Ltd | Form reader, program and form read system |
JP2012142002A (en) * | 2005-09-09 | 2012-07-26 | Microsoft Corp | User interface for creating spreadsheet data summary table |
JP2012173983A (en) * | 2011-02-22 | 2012-09-10 | Apsto Web:Kk | Task application configuration device |
US8914717B2 (en) | 2006-02-27 | 2014-12-16 | Microsoft Corporation | Dynamic thresholds for conditional formats |
US9223772B2 (en) | 2005-09-09 | 2015-12-29 | Microsoft Technology Licensing, Llc | Filtering user interface for a data summary table |
US9424235B2 (en) | 2005-10-27 | 2016-08-23 | Microsoft Technology Licensing, Llc | Variable formatting of values |
JP2016218747A (en) * | 2015-05-20 | 2016-12-22 | 株式会社ディーバ | Apparatus, method, and program for mapping, and recording medium |
JP2017167713A (en) * | 2016-03-15 | 2017-09-21 | 株式会社キーエンス | Program development support device, program development support method, and computer program executable by program development support device |
JP2019091383A (en) * | 2017-11-17 | 2019-06-13 | 株式会社オービックビジネスコンサルタント | Input screen generating apparatus, input screen generating method, and program |
CN113393294A (en) * | 2021-06-11 | 2021-09-14 | 北京沃东天骏信息技术有限公司 | Page display method and device, equipment and storage medium |
JP2022520263A (en) * | 2019-07-15 | 2022-03-29 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Mini-program data binding methods, appliances, devices and computer programs |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62247455A (en) * | 1986-04-21 | 1987-10-28 | Hitachi Ltd | Control system for definition of screen |
JPH09204479A (en) * | 1996-01-26 | 1997-08-05 | Nec Corp | Table data processor |
JPH1040050A (en) * | 1996-07-22 | 1998-02-13 | Fuji Xerox Co Ltd | Table generation instructing device and table generating system |
JPH1055396A (en) * | 1996-08-12 | 1998-02-24 | Casio Comput Co Ltd | Data processor |
-
2004
- 2004-05-21 JP JP2004152049A patent/JP4636814B2/en not_active Expired - Lifetime
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62247455A (en) * | 1986-04-21 | 1987-10-28 | Hitachi Ltd | Control system for definition of screen |
JPH09204479A (en) * | 1996-01-26 | 1997-08-05 | Nec Corp | Table data processor |
JPH1040050A (en) * | 1996-07-22 | 1998-02-13 | Fuji Xerox Co Ltd | Table generation instructing device and table generating system |
JPH1055396A (en) * | 1996-08-12 | 1998-02-24 | Casio Comput Co Ltd | Data processor |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007072882A (en) * | 2005-09-08 | 2007-03-22 | Hitachi Computer Peripherals Co Ltd | Form reader, program and form read system |
US10579723B2 (en) | 2005-09-09 | 2020-03-03 | Microsoft Technology Licensing, Llc | User interface for creating a spreadsheet data summary table |
US8601383B2 (en) | 2005-09-09 | 2013-12-03 | Microsoft Corporation | User interface for creating a spreadsheet data summary table |
JP2012142002A (en) * | 2005-09-09 | 2012-07-26 | Microsoft Corp | User interface for creating spreadsheet data summary table |
US9529789B2 (en) | 2005-09-09 | 2016-12-27 | Microsoft Technology Licensing, Llc | User interface for creating a spreadsheet data summary table |
US9959267B2 (en) | 2005-09-09 | 2018-05-01 | Microsoft Technology Licensing, Llc | Filtering user interface for a data summary table |
US9223772B2 (en) | 2005-09-09 | 2015-12-29 | Microsoft Technology Licensing, Llc | Filtering user interface for a data summary table |
US9424235B2 (en) | 2005-10-27 | 2016-08-23 | Microsoft Technology Licensing, Llc | Variable formatting of values |
US11295058B2 (en) | 2005-10-27 | 2022-04-05 | Microsoft Technology Licensing, Llc | Variable formatting of values |
US8914717B2 (en) | 2006-02-27 | 2014-12-16 | Microsoft Corporation | Dynamic thresholds for conditional formats |
JP2012173983A (en) * | 2011-02-22 | 2012-09-10 | Apsto Web:Kk | Task application configuration device |
JP2016218747A (en) * | 2015-05-20 | 2016-12-22 | 株式会社ディーバ | Apparatus, method, and program for mapping, and recording medium |
JP2017167713A (en) * | 2016-03-15 | 2017-09-21 | 株式会社キーエンス | Program development support device, program development support method, and computer program executable by program development support device |
JP2019091383A (en) * | 2017-11-17 | 2019-06-13 | 株式会社オービックビジネスコンサルタント | Input screen generating apparatus, input screen generating method, and program |
JP2022520263A (en) * | 2019-07-15 | 2022-03-29 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Mini-program data binding methods, appliances, devices and computer programs |
JP7217357B2 (en) | 2019-07-15 | 2023-02-02 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Mini-program data binding method, apparatus, device and computer program |
US11853730B2 (en) | 2019-07-15 | 2023-12-26 | Tencent Technology (Shenzhen) Company Limited | Mini program data binding method and apparatus, device, and storage medium |
CN113393294A (en) * | 2021-06-11 | 2021-09-14 | 北京沃东天骏信息技术有限公司 | Page display method and device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP4636814B2 (en) | 2011-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11361157B2 (en) | System and method for dialog customization | |
CN101278252B (en) | Method for providing function for user interface for a database application and the interface deployment method | |
US10467337B2 (en) | Responsive data exploration on small screen devices | |
JP4950482B2 (en) | Filter by format and sort | |
CN101604243B (en) | A kind of for providing method and the system thereof at context-dependent user interface | |
US20050015730A1 (en) | Systems, methods and computer program products for identifying tab order sequence of graphically represented elements | |
US6263347B1 (en) | System for linking data between computer and portable remote terminal and data linking method therefor | |
EP2136292A1 (en) | Service program generation technology | |
JP2008542942A (en) | Reconfiguration of electronic device standby screen | |
US20020109725A1 (en) | Control apparatus and control method for starting application software on a computer, and multi-monitor computer, client-server system, and storage medium using the same | |
JP4636814B2 (en) | Data mapping apparatus, data mapping method, and program | |
US20060294137A1 (en) | Database application including split views | |
US7712032B2 (en) | Range condition managing system and user interface thereof | |
TW501049B (en) | System and method for organizing objects managed within a desktop | |
JP5342307B2 (en) | Data linkage processing system, method and program | |
CN101201846A (en) | Information processing method, information processing device and program | |
JPWO2020157918A1 (en) | Drawing support device, display device, drawing support method and computer program | |
JP7183458B1 (en) | Setting work support device, setting work support method, and setting work support program | |
JPH08153111A (en) | Hypermedia system and hypermedia document preparing and editing method | |
US20240265192A1 (en) | Task support system, task support method, and information storage medium | |
JP2007122530A (en) | Unit information processor, unit information processing method and unit information processing program | |
JP3988900B2 (en) | Document processing apparatus and program storage medium thereof | |
Hild et al. | Building a Presentation Server-Side within a Web Part | |
JP2019061460A (en) | Document file selection assisting system and document file selection assisting program | |
JP2012164160A (en) | Information processor, screen display method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070514 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100810 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101006 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101109 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101122 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131203 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4636814 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
EXPY | Cancellation because of completion of term |