JP2005038404A - Data mapping device, data mapping method and program - Google Patents

Data mapping device, data mapping method and program Download PDF

Info

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
Application number
JP2004152049A
Other languages
Japanese (ja)
Other versions
JP4636814B2 (en
Inventor
Hiroki Okamura
洋樹 岡村
Seiga Ko
性雅 洪
Hiroaki Shirai
博章 白井
Chikara Ogiwara
主税 荻原
Yoichi Kawaguchi
陽一 河口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Information Services International Dentsu Ltd
Original Assignee
Information Services International Dentsu Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Information Services International Dentsu Ltd filed Critical Information Services International Dentsu Ltd
Priority to JP2004152049A priority Critical patent/JP4636814B2/en
Publication of JP2005038404A publication Critical patent/JP2005038404A/en
Application granted granted Critical
Publication of JP4636814B2 publication Critical patent/JP4636814B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data mapping device capable of linking a data input/output form and a database by a simple operation. <P>SOLUTION: This data mapping device is provided with an input/output form display means displaying the data input/output form 30 and a field display means displaying information 40 on a plurality of fields of the database. The data input/output form 30 has a data area 32 wherein cells 31 are arranged in a matrix and index areas 32, 33 arranged corresponding to a line or a column. A data mapping device is provided with an assignment means receiving the assignment of the field corresponding to each data area and index area and a mapping means mapping so that the data area and the data of the cell in the index area are stored in a designated field and the data of the cell in the data area and the data of the cell in the index area corresponding to the position of the line or the column of the cell are stored in the same record. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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に開示されている。このシステムでは、データ入出力用のシートのそれぞれのセルにコードを割り当て、データベース内の格納場所に関連付けている。具体的には、データ入出力のシートと同じデザインのシートを準備し、そのシート上でそれぞれのセルにコードを記述する。
「DLINC Solutions ORDER 入力画面設計の手引き」 株式会社 電通国際情報サービス(第3,4頁)
Conventionally, in accounting management software and the like, for example, a system in which a data input / output sheet created by spreadsheet software and a database are linked is known. An example of this system is disclosed in Non-Patent Document 1. In this system, a code is assigned to each cell of the data input / output sheet and is associated with a storage location in the database. Specifically, a sheet having the same design as the data input / output sheet is prepared, and a code is written in each cell on the sheet.
“DLINC Solutions ORDER Input Screen Design Guide” Dentsu International Information Service Co., Ltd. (pages 3 and 4)

上記システムでは、データ入出力の単位であるセルごとに関連付けの作業を行っていた。データ入出力シートのセル数は多いので、データ入出力のシートとデータベースとを連携させるために時間を要した。また、シートに割当コードを直接記述する方式を採用しているので、データ入出力フォームのデザインの変更があった場合には、再度コードを割り当てる必要があった。   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 data mapping apparatus 1 according to the first embodiment of the present invention. The data mapping apparatus 1 of the first embodiment can be configured by a normal personal computer. The data mapping apparatus 1 is realized by storing a program for data mapping in a memory and executing the program by a computer. In the data mapping apparatus 1, a monitor 21, a keyboard 22, a mouse 23, and a hard disk (HDD) 24 are connected to the control unit 10. A database 25 is configured in the HDD 24. The database 25 is controlled by the database control means 16 of the control unit 10. The database 25 here includes a database managed by a dedicated database server, and also includes a file storing data according to a predetermined table format.

データマッピング装置1の制御部10は、データ入出力フォームを表示する入出力フォーム表示手段11と、フィールドの情報を表示するフィールド表示手段12と、表示されたデータ入出力フォームのエリアおよびそのエリアに対応するフィールドを指定する指定手段13と、指定されたエリアの整合性を判定する判定手段14と、指定手段13による指定に基づいてマッピングするマッピング手段15とを備える。   The control unit 10 of the data mapping apparatus 1 includes an input / output form display unit 11 that displays a data input / output form, a field display unit 12 that displays field information, an area of the displayed data input / output form, and the area thereof. A designation unit 13 that designates a corresponding field, a determination unit 14 that determines consistency of a designated area, and a mapping unit 15 that performs mapping based on designation by the designation unit 13 are provided.

このデータマッピング装置1では、入出力フォーム表示手段11およびフィールド表示手段12によって表示されたデータ入出力フォームおよびフィールドの情報を指定手段13によってユーザに指定させる。そして、指定されたエリアとフィールドを、マッピング手段15によってマッピングする。以下、各構成要素について詳細に説明する。   In this data mapping apparatus 1, the data input / output form and field information displayed by the input / output form display unit 11 and the field display unit 12 are specified by the user by the specifying unit 13. The specified area and field are mapped by the mapping means 15. Hereinafter, each component will be described in detail.

入出力フォーム表示手段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 data mapping apparatus 1 can display the created data input / output form on the monitor 21 by reading it. It is also possible to edit the displayed data input / output form with the keyboard 22 or the mouse 23.

フィールド表示手段12は、データベース25のフィールドに関する情報を表示する機能を有する。データベース25は、データベース制御手段16によりアクセスされる。フィールド表示手段12はデータベース制御手段16に接続され、データベース制御手段16からデータベース25のフィールドに関する情報を取得し、モニタ21に表示する。   The field display unit 12 has a function of displaying information related to fields in the database 25. The database 25 is accessed by the database control means 16. The field display unit 12 is connected to the database control unit 16, acquires information related to the fields of the database 25 from the database control unit 16, and displays the information on the monitor 21.

図2は、モニタ21に表示されるデータ入出力フォーム30およびフィールドに関する情報40の一例を示す図である。モニタ21の画面表示は左右に分割され、左側のウィンドウにデータ入出力フォーム30が表示されている。右側のウィンドウはさらに上下に分割されている。右上のウィンドウには、マッピングリストの情報が表示されている。右下のウィンドウは、マッピングを行うための「マッピング設定」ウィンドウであり、データベース25のフィールドに関する情報40が含まれている。以下、それぞれの表示内容について説明する。   FIG. 2 is a diagram illustrating an example of the data input / output form 30 and the field-related information 40 displayed on the monitor 21. The screen display of the monitor 21 is divided into left and right, and a data input / output form 30 is displayed in the left window. The right window is further divided up and down. The mapping list information is displayed in the upper right window. The lower right window is a “mapping setting” window for mapping, and includes information 40 on the fields of the database 25. Each display content will be described below.

図2に示すデータ入出力フォーム30は、会計で用いられる損益計算書である。データ入出力フォーム30は、データを入力または表示するための複数のセル31を有する。データ入出力フォーム30は、複数のセル31がマトリックス状に配置されたデータエリア32を有する。以下の説明では、データエリア32の左から右に1列、2列といい、データエリア32の上から下に1行、2行、・・・5行という。データエリア32は、報告数値を入力するためのセルである。   The data input / output form 30 shown in FIG. 2 is a profit and loss statement used in accounting. The data input / output form 30 has a plurality of cells 31 for inputting or displaying data. The data input / output form 30 has a data area 32 in which a plurality of cells 31 are arranged in a matrix. In the following description, the data area 32 is referred to as 1 column and 2 columns from the left to the right, and 1 row, 2 rows,... The data area 32 is a cell for inputting a report numerical value.

データエリア32の左側には、行見出しエリア33が配置されている。行見出しエリア33は、セル31がデータエリア32の列方向に並んで配置されている。行見出しエリア33は、それぞれの行に入力されるデータに関する情報を示す。この例では、行見出しエリア33は勘定科目に関する情報を示しており、例えば、データエリア32の第1行は、「売上高」の情報であることを示す。   On the left side of the data area 32, a row heading area 33 is arranged. In the row header area 33, the cells 31 are arranged in the column direction of the data area 32. The row header area 33 shows information related to data input to each row. In this example, the row heading area 33 indicates information related to the account item, and for example, the first row of the data area 32 indicates that the information is “sales”.

データエリア32の上側には、列見出しエリア34が配置されている。列見出しエリア34は、セル31がデータエリア32の行方向に並んで配置されている。列見出しエリア34は、それぞれの列に入力されるデータに関する情報を示す。この例では、列見出しエリア34は会社に関する情報を示しており、例えばデータエリア32の第1列は「A会社」の情報であることを示す。   A column heading area 34 is arranged above the data area 32. In the column header area 34, the cells 31 are arranged in the row direction of the data area 32. The column heading area 34 shows information regarding data input to each column. In this example, the column heading area 34 indicates information about the company, and for example, the first column of the data area 32 indicates that the information is “Company A”.

データベース25のフィールドに関する情報40は、データベース25のテーブルの情報が反映されて表示される。すなわち、図2で、勘定科目41、会社42、報告数値43と表示されているのは、データベース25のテーブルが、勘定科目、会社、報告数値と設計されていることによる。   Information 40 relating to the fields of the database 25 is displayed reflecting the information of the table of the database 25. That is, the account item 41, the company 42, and the report numerical value 43 are displayed in FIG. 2 because the table of the database 25 is designed with the account item, the company, and the report numerical value.

また、図2において、各フィールド41,42,43の右側に配置された項目44,45,46は、それぞれのフィールドにマッピングされるエリアの属性を表す情報である。エリアの属性とは、そのエリアがデータを入力するためのエリアか、データを表示するためのエリアか、あるいは、行見出しエリアかまたは列見出しエリアかを表す情報である。例えば、報告数値43の属性は「入力セル」と表示されている。これは、報告数値43がマッピングされるエリアはデータを入力するためのエリアとして設定されていることを示す。すなわち、データ入出力フォーム30のデータエリア32にデータが入力されてデータベース25に格納される。逆に、「出力セル」と表示されている場合は、データベース25のデータが読み出されてデータエリア32に表示される設定である。   In FIG. 2, items 44, 45, and 46 arranged on the right side of the fields 41, 42, and 43 are information representing the attributes of the areas mapped to the respective fields. The area attribute is information indicating whether the area is an area for inputting data, an area for displaying data, or a row heading area or a column heading area. For example, the attribute of the report numerical value 43 is displayed as “input cell”. This indicates that the area to which the report numerical value 43 is mapped is set as an area for inputting data. That is, data is input to the data area 32 of the data input / output form 30 and stored in the database 25. Conversely, when “output cell” is displayed, the data in the database 25 is read and displayed in the data area 32.

マッピングリスト50は、データ入出力フォーム30および対応するフィールド情報40を切り替えるための表示である。現在表示されている「LIST1」は、損益計算書のマッピングリストである。マッピングリストを選択することにより、他のデータ入出力フォーム30を選択でき、マッピングを行うことができる。   The mapping list 50 is a display for switching between the data input / output form 30 and the corresponding field information 40. “LIST1” currently displayed is a profit and loss statement mapping list. By selecting the mapping list, another data input / output form 30 can be selected and mapping can be performed.

再び図1を参照して、データマッピング装置1の構成について説明する。データマッピング装置1は、表示されたデータ入出力フォーム30のエリアおよび対応するフィールドを指定する指定手段13と、指定手段13によって指定された複数のエリアの整合性を判定する判定手段14と、指定されたエリアとフィールドをマッピングするマッピング手段15を備えている。   With reference to FIG. 1 again, the configuration of the data mapping apparatus 1 will be described. The data mapping apparatus 1 includes a designation unit 13 that designates an area of the displayed data input / output form 30 and a corresponding field, a determination unit 14 that judges consistency of a plurality of areas designated by the designation unit 13, and a designation Mapping means 15 for mapping the designated area and field is provided.

指定手段13は、例えば、マウス23により指定された範囲をエリアと認識する。そして、指定されたエリアがフィールドにドラッグアンドドロップされることにより、エリアのマッピング先として指定されたフィールドを認識する。   For example, the designating unit 13 recognizes a range designated by the mouse 23 as an area. Then, by dragging and dropping the designated area onto the field, the field designated as the area mapping destination is recognized.

図3は、指定手段13によってエリアおよびフィールドの指定を受け付ける際のユーザインターフェースについて説明する図である。図3に示すように、まずデータ入出力フォーム30中のエリアを指定する。この例では、データエリア32を指定している。そして、指定したデータエリア32を報告数値43のフィールドにドラッグアンドドロップする。このドラッグアンドドロップの動作により、指定手段13は、データエリア32とマッピング先の報告数値43のフィールドが指定されたことを認識する。このとき、「マッピング設定」ウィンドウにフィールドの属性を示す項目をポップアップ表示し、指定したエリアの属性が「入力セル」か「出力セル」か、をユーザに選択させる。   FIG. 3 is a diagram for explaining a user interface when the designation unit 13 accepts designation of an area and a field. As shown in FIG. 3, first, an area in the data input / output form 30 is designated. In this example, the data area 32 is designated. Then, the designated data area 32 is dragged and dropped to the field of the report numerical value 43. By this drag-and-drop operation, the designation unit 13 recognizes that the data area 32 and the field of the mapping destination report numerical value 43 are designated. At this time, an item indicating the attribute of the field is pop-up displayed in the “mapping setting” window, and the user is allowed to select whether the attribute of the designated area is “input cell” or “output cell”.

図4は、指定手段13によって列見出しエリア34および対応する会社のフィールドの指定を受け付ける際のユーザインターフェースについて説明する図である。図4に示されるように、データエリア32と同様に列見出しエリア34を「会社名」のフィールドにドラッグアンドドロップすることにより、列見出しエリア34と会社名42を指定できる。このときに、データ入出力フォーム30の列見出しエリア34に、会社名の選択肢をポップアップ表示するように設定することができる。   FIG. 4 is a diagram illustrating a user interface when the designation unit 13 accepts designation of the column heading area 34 and the corresponding company field. As shown in FIG. 4, the column heading area 34 and the company name 42 can be designated by dragging and dropping the column heading area 34 to the “company name” field in the same manner as the data area 32. At this time, it is possible to set so that a choice of company name pops up in the column header area 34 of the data input / output form 30.

図5は、列見出しエリア34に会社の選択肢をポップアップ表示するための設定画面である。列見出しエリア34にポップアップ表示する情報をユーザに設定させる。ここでは、図5に示すように、列見出しエリア34にポップアップ表示するデータを会社マスタから読み出すことが設定されている。この設定により、データ入出力フォーム30の列見出しエリア34の内容をポップアップ表示された会社名の中から選択可能となる。   FIG. 5 is a setting screen for popping up company options in the column header area 34. The user is allowed to set information to be popped up in the column header area 34. Here, as shown in FIG. 5, it is set to read out data to be pop-up displayed in the column header area 34 from the company master. With this setting, the contents of the column heading area 34 of the data input / output form 30 can be selected from the company names popped up.

判定手段14は、指定されたデータエリア32と、指定された行見出しエリア33または列見出しエリア34との整合性を判定する機能を有する。例えば、行見出しエリア33の行数が指定されたデータエリア32の行数より多い場合、または列見出しエリア34の列数がデータエリア32の列数より多い場合に、データエリア32と行見出しエリア33または列見出しエリア34とが整合しないと判定する。整合しないと判定された場合には、ユーザに対して再度エリアの指定を促す。この判定手段14を備えることにより、データマッピング装置1は、誤ったエリア指定がなされた場合にはデータマッピング処理を停止でき、バグのあるデータ入出力装置の作成を回避できる。このようなユーザ支援のための手段を備えることにより、作成されるデータ入出力装置の信頼性を向上できる。   The determination unit 14 has a function of determining consistency between the designated data area 32 and the designated row heading area 33 or column heading area 34. For example, when the number of rows in the row header area 33 is larger than the number of rows in the designated data area 32, or when the number of columns in the column header area 34 is larger than the number of columns in the data area 32, the data area 32 and the row header area 33 or the column heading area 34 is determined not to match. If it is determined that they do not match, the user is prompted to specify an area again. By providing this determination means 14, the data mapping apparatus 1 can stop the data mapping process when an erroneous area is specified, and avoid the creation of a buggy data input / output apparatus. By providing such user support means, the reliability of the created data input / output device can be improved.

マッピング手段15は、指定手段13によって指定されたエリアとフィールドをマッピングする機能を有する。マッピングにより、データ入出力フォーム30のセルと、そのセルのデータの格納場所が関連付けられる。このとき、データエリア32内でのセルの位置情報および行見出しエリア33または列見出しエリア34内でのセルの位置情報に基づいて、それぞれのエリア内のセルが関連付けられる。以下、この点について説明する。   The mapping unit 15 has a function of mapping the area and field designated by the designation unit 13. The mapping associates the cell of the data input / output form 30 with the data storage location of the cell. At this time, the cells in each area are associated with each other based on the position information of the cells in the data area 32 and the position information of the cells in the row heading area 33 or the column heading area 34. Hereinafter, this point will be described.

図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 data area 32 has position information D (m, n). The cells in the row heading area 33 also have position information on the number of rows from the top. That is, the cell in the m-th row from the top has position information Rm. The cells in the column heading area 34 also have position information on the number of columns from the left. That is, the cell in the nth column from the left has position information Cn. Based on this position information, the mapping means 15 can grasp the correspondence between the cells in the data area 32 and the cells in the row heading area 33 and the column heading area 34. For example, the data input to D (1,1) in the data area 32 corresponds to the data in the first row in the row header area 33 and the data in the first column in the column header area 34. Based on this information, the mapping means 15 has the same data input to D (1,1) of the data area 32, the first row data of the row header, and the first column data of the column header. It is possible to perform mapping so as to be stored in the record.

図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 data mapping device 1, and FIG. 7B shows the data input / output of FIG. 7A. It is a figure which shows the example in which the data input into the form were stored in the database. As described above, the cells of the data input / output form 30 are mapped to the fields of the database 25, so that the data of the corresponding cells in the data area 32, the row header area 33, and the column header area 34 are stored in the same record in the database 25. Stored. For example, referring to the first row and the first column of the data input / output form 30, the sales amount of the company A is “10000”. The first row of the row header area 33 is “Sales”, and the first column of the column header area 34 is “Company A”. By storing in the database 25 based on the position information, the data is stored as seen in the first record of the database 25.

次に、第1の実施形態に係るデータマッピング装置1の動作について説明する。   Next, the operation of the data mapping apparatus 1 according to the first embodiment will be described.

図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 data mapping apparatus 1. First, the data mapping apparatus 1 displays the data input / output form 30 (S10). The data input / output form 30 displays the data input / output form 30 by reading the data input / output form 30 created in advance by spreadsheet software. Subsequently, the data mapping apparatus 1 acquires the information of the database 25 by the database control means 16 and displays the field information 40 of the database 25 (S12). Here, the data input / output form 30 and the field information 40 are displayed in order, but the data input / output form 30 and field information may be read in advance and displayed at the same time. In addition, a plurality of data input / output forms 30 and a plurality of field information corresponding thereto may be read in advance. Then, the user may select which data input / output form 30 is to be subjected to data mapping, and information on the selected data input / output form 30 and the corresponding field may be displayed.

次に、データマッピング装置1は、エリアの指定を受け付ける(S14)。データエリア32、行見出しエリア33、列見出しエリア34の各エリアの指定の順序は自由である。以下の説明では、データエリア32の指定から開始したとする。データエリア32を指定し、指定されたデータエリア32をフィールドにドラッグアンドドロップし、データエリア32をマッピングするフィールドを指定する(S16)。   Next, the data mapping apparatus 1 accepts designation of an area (S14). The order of designation of each of the data area 32, the row heading area 33, and the column heading area 34 is arbitrary. In the following description, it is assumed that the data area 32 is started. The data area 32 is designated, the designated data area 32 is dragged and dropped onto the field, and the field to which the data area 32 is mapped is designated (S16).

次に、データマッピング装置1は、指定されたエリアの属性選択を受け付ける(S18)。データエリア32の属性が入力セルであるか、または出力セルであるかの選択を受け付ける。そして、データマッピング装置1は、指定されたデータエリア32と、指定されたフィールドと、選択された属性に基づいて、データ入出力フォーム30のデータエリア32とフィールドをマッピングする(S20)。   Next, the data mapping apparatus 1 accepts attribute selection of the designated area (S18). The selection of whether the attribute of the data area 32 is an input cell or an output cell is accepted. Then, the data mapping apparatus 1 maps the data area 32 and the field of the data input / output form 30 based on the designated data area 32, the designated field, and the selected attribute (S20).

次にデータマッピング装置1は、データ入出力フォーム30のすべてのエリアの指定が終了したか否かを判定する(S22)。すべてのエリアの指定が終了した場合には、整合性判定のステップS24に移行する。他に指定すべきエリアがある場合には、エリア指定のステップS14に移行する。この例では、データエリア32に続いて行見出しエリア33をマッピングする。   Next, the data mapping apparatus 1 determines whether or not all areas of the data input / output form 30 have been designated (S22). If all areas have been designated, the process proceeds to step S24 for consistency determination. If there are other areas to be designated, the process proceeds to area designation step S14. In this example, the line header area 33 is mapped after the data area 32.

行見出しエリア33を指定し(S14)、指定された行見出しエリア33を対応するフィールドにドラッグアンドドロップし、行見出しエリア33をマッピングするフィールドを指定する(S16)。次に、データマッピング装置1は、指定されたエリアの属性選択を受け付ける(S18)。ここでは、指定されたエリアは行見出しエリア33であり、行見出しエリア33の属性が選択される。そして、データマッピング装置1は、指定された行見出しエリア33と、指定されたフィールドと、選択された属性に基づいて、データ入出力フォーム30の行見出しエリア33とフィールドをマッピングする(S20)。   The line heading area 33 is designated (S14), the designated line heading area 33 is dragged and dropped onto the corresponding field, and the field for mapping the line heading area 33 is designated (S16). Next, the data mapping apparatus 1 accepts attribute selection of the designated area (S18). Here, the designated area is the line heading area 33, and the attribute of the line heading area 33 is selected. Then, the data mapping apparatus 1 maps the line heading area 33 and the field of the data input / output form 30 based on the designated line heading area 33, the designated field, and the selected attribute (S20).

以下、列見出しエリア34についても同様に、対応するフィールドとのマッピングが行われる。そして、全エリアが指定されたか否かの判定(S22)により、全エリアについてマッピングが終了したと判定されると、データマッピング装置1は、指定されたエリアの整合性がとれているか判定する(S24)。整合性の判定は、データエリア32の行数と行見出しエリア33の行数、およびデータエリア32の列数と列見出しエリア34の列数に基づいて行う。例えば、行見出しエリア33の行数がデータエリア32の行数より多い場合には、指定されたデータエリア32と指定された行見出しエリア33の整合性がとれていないと判定し、データマッピング装置1は、再度エリア指定を促す(S26)。   Thereafter, the column heading area 34 is similarly mapped to the corresponding field. When it is determined that the mapping has been completed for all the areas by determining whether all the areas have been specified (S22), the data mapping apparatus 1 determines whether the specified areas are consistent (see FIG. S24). The consistency is determined based on the number of rows in the data area 32 and the number of rows in the row header area 33, and the number of columns in the data area 32 and the number of columns in the column header area 34. For example, when the number of lines in the line heading area 33 is larger than the number of lines in the data area 32, it is determined that the designated data area 32 and the designated line heading area 33 are not consistent, and the data mapping device 1 prompts the area designation again (S26).

整合性がとれていると判定された場合に、データマッピング装置1によるデータマッピングの動作は終了する。以上、実施形態に係るデータマッピング装置1の動作について説明した。   When it is determined that consistency is achieved, the data mapping operation by the data mapping apparatus 1 ends. The operation of the data mapping apparatus 1 according to the embodiment has been described above.

本発明の第1の実施形態に係るデータマッピング装置1においては、データ入出力フォーム30がデータエリア32とそれに対応する行見出しエリア33および列見出しエリア34を有する。そして、データエリア32内のセルとそのセルの行に対応する行見出しエリア33のセル、およびデータエリア32内のセルの列に対応する列見出しエリア34のセルが対応付けられる。対応付けられたデータエリア32、行見出しエリア33、列見出しエリア34のセルのデータがデータベース25の同一レコードに格納される。これにより、それぞれのセルごとにマッピングを行わなくてもよい。従って、データ入出力フォーム30のエリアおよび対応するフィールドを画面上で指定するという簡易な操作により、データ入出力フォーム30の指定したエリア内のセルと、データベース25のフィールドをマッピングすることができる。   In the data mapping apparatus 1 according to the first embodiment of the present invention, the data input / output form 30 has a data area 32 and a corresponding row header area 33 and column header area 34. Then, the cell in the data area 32 is associated with the cell in the row header area 33 corresponding to the row of the cell, and the cell in the column header area 34 corresponding to the column of cells in the data area 32. The data of the cells in the associated data area 32, row heading area 33, and column heading area 34 are stored in the same record of the database 25. Thereby, it is not necessary to perform mapping for each cell. Therefore, the cells in the specified area of the data input / output form 30 and the fields of the database 25 can be mapped by a simple operation of specifying the area of the data input / output form 30 and the corresponding field on the screen.

また、第1の実施形態に係るデータマッピング装置1では、それぞれのエリアにおけるセルの位置情報に基づいて、異なるエリア間でセルのデータを対応させている。すなわち、データ入出力フォーム内におけるセルの位置に関わりなく、エリアにおける位置によって異なるエリア間でセルを関係付けている。これにより、データ入出力フォーム30のデザイン変更によってデータエリア32と見出しエリア33,34の位置関係がずれても、セルのデータの対応を保つことができる。   Further, in the data mapping apparatus 1 according to the first embodiment, cell data is associated between different areas based on cell position information in each area. That is, regardless of the position of the cell in the data input / output form, the cell is related between different areas depending on the position in the area. Thereby, even if the positional relationship between the data area 32 and the header areas 33 and 34 is shifted due to the design change of the data input / output form 30, the correspondence of the cell data can be maintained.

また、エリア単位でフィールドにマッピングしているので、エリアに行または列が追加された場合にも、マッピングを有効に保つことができる。例えば、図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 / output form 30 shown in FIG. 2, when a line of “operating expenses” is added between “sales amount” and “cost of sales”, the number of each account item is in the line heading area. And the information on what row the cell in the data area is shifted correspondingly. Therefore, even if the design of the row insertion is changed, the correspondence between the row heading area and the cells in the data area is maintained.

また、第1の実施形態に係るデータマッピング装置1においては、指定されたデータエリア32と、行見出しエリア33または列見出しエリア34の整合性を判定し、整合性がとれていない場合にエリアの再指定を促す。誤ったエリア指定に基づくマッピングを行わず、バグのあるデータ入出力装置が作成される可能性を低減できる。   In the data mapping device 1 according to the first embodiment, the consistency between the designated data area 32 and the row heading area 33 or the column heading area 34 is determined. Encourage re-designation. It is possible to reduce the possibility of creating a buggy data input / output device without performing mapping based on an erroneous area designation.

次に、本発明の実施形態に係るプログラムについて説明する。既に述べたように、実施形態に係るプログラムが実行されることにより、上記のデータマッピング装置1が実現される。   Next, a program according to the embodiment of the present invention will be described. As described above, the data mapping apparatus 1 is realized by executing the program according to the embodiment.

図9は、実施形態のプログラム60の構成を示す図である。データマッピングプログラム60は、入出力フォーム表示モジュール61、フィールド表示モジュール62、指定モジュール63、判定モジュール64およびマッピングモジュール65を有する。   FIG. 9 is a diagram illustrating a configuration of the program 60 according to the embodiment. The data mapping program 60 includes an input / output form display module 61, a field display module 62, a designation module 63, a determination module 64, and a mapping module 65.

入出力フォーム表示モジュール61は、コンピュータによって実行することにより、データ入出力フォーム30を表示するモジュールである。フィールド表示モジュール62は、コンピュータによって実行することにより、データベース25のフィールドに関する情報を表示するモジュールである。指定モジュール63は、コンピュータによって実行することにより、データ入出力フォーム30のエリアの指定およびそのエリアに対応するフィールドの指定をコンピュータが受け付けることができるようにするモジュールである。判定モジュール64は、コンピュータによって実行することにより、指定された複数のエリアの整合性を判定するモジュールである。マッピングモジュール65は、コンピュータによって実行することにより、指定されたエリアと指定されたフィールドをマッピングするモジュールである。   The input / output form display module 61 is a module that displays the data input / output form 30 by being executed by a computer. The field display module 62 is a module that displays information related to fields in the database 25 by being executed by a computer. The designation module 63 is a module that allows the computer to accept the designation of the area of the data input / output form 30 and the designation of the field corresponding to the area by being executed by the computer. The determination module 64 is a module for determining consistency of a plurality of designated areas by being executed by a computer. The mapping module 65 is a module that maps a specified area and a specified field by being executed by a computer.

このデータマッピングプログラム60をコンピュータによって実行することにより、上記したデータマッピング装置1を実現でき、簡易な操作でデータ入出力フォームのセルとデータベースの格納場所とをマッピングできる。   By executing the data mapping program 60 by a computer, the above-described data mapping apparatus 1 can be realized, and the cells of the data input / output form and the storage location of the database can be mapped by a simple operation.

また、上記プログラムを記録媒体に記録することにより、本発明の実施形態に係る記録媒体を構成することができる。記録媒体をコンピュータで読み取って実行することにより、上記プログラムと同様に、簡易な操作でデータ入出力フォームのセルとデータベースの格納場所とをマッピングできるデータマッピング装置を実現できる。   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 data mapping apparatus 1, the data mapping method, and the program 60 according to the first embodiment of the present invention have been described above.

上記データマッピング装置1においては、データ入力用のセルで構成されたデータエリア32と行見出しエリア33および列見出しエリア34を有するデータ入出力フォーム30を例として説明したが、行見出しエリア33または列見出しエリア34の一方のみを有するデータ入出力フォーム30にも本発明を適用することができるのは言うまでもない。また、本発明は、その他の形式のデータ入出力フォーム30にも適用可能である。以下、他のデータ入出力フォーム30について説明する。   In the data mapping apparatus 1 described above, the data input / output form 30 having the data area 32 composed of cells for data input, the row heading area 33 and the column heading area 34 has been described as an example. It goes without saying that the present invention can also be applied to the data input / output form 30 having only one of the heading areas 34. The present invention is also applicable to other types of data input / output forms 30. Hereinafter, another data input / output form 30 will be described.

図10は、データ入力用のセルで構成されたデータエリア32とデータ表示用のセルで構成されたデータエリア35を有するデータ入出力フォーム30の例を示す図である。この例では、列見出しの「当期」に対応するデータエリア32は入力用のデータエリアであり、列見出しの「前期」に対応するデータエリア35は表示用のデータエリアである。このデータ入出力フォーム30では、入力用のデータエリア32に入力されたデータがデータベース25に格納され、表示用のデータエリア35にはデータベース25に格納されているデータが表示される。   FIG. 10 is a diagram showing an example of a data input / output form 30 having a data area 32 composed of cells for data input and a data area 35 composed of cells for data display. In this example, the data area 32 corresponding to “current period” in the column heading is an input data area, and the data area 35 corresponding to “first period” in the column heading is a data area for display. In the data input / output form 30, the data input in the input data area 32 is stored in the database 25, and the data stored in the database 25 is displayed in the display data area 35.

このデータ入出力フォーム30のマッピングは、例えば、マッピングリスト「LIST1」でデータエリア32をマッピングし、マッピングリスト「LIST2」でデータエリア35のマッピングを行う。データエリア35をフィールド47にマッピングした際に、データエリア35の属性として「出力セル」を選択することにより、データエリア35の属性を表示用に設定することができる。なお、これにより、マッピングリストにおけるTypeが「Refer」となる。これは、データエリアがデータを表示することを意味する。このように、入力セルと出力セルの両方を含むデータエリアを持ったデータ入出力フォーム30の場合にも、エリアとデータベース25のフィールドを指定するという簡易な操作で、データ入出力フォーム30のセルとデータベース25のデータの格納場所をマッピングできる。   For example, the data input / output form 30 is mapped by mapping the data area 32 using the mapping list “LIST1” and mapping the data area 35 using the mapping list “LIST2”. When the data area 35 is mapped to the field 47, by selecting “output cell” as the attribute of the data area 35, the attribute of the data area 35 can be set for display. As a result, the type in the mapping list becomes “Refer”. This means that the data area displays data. As described above, even in the case of the data input / output form 30 having the data area including both the input cell and the output cell, the cell of the data input / output form 30 can be obtained by a simple operation of specifying the area and the field of the database 25. And the data storage location of the database 25 can be mapped.

図11は、一セルからなる見出し36が設けられたデータ入出力フォーム30の例を示す図である。この例では、シート全体に一つの見出し36が付されている。この見出し36を対応する「商品コード」のフィールドにドラッグアンドドロップすることにより、見出し36がデータエリア32に入力されるすべてのデータに関連付けられる。   FIG. 11 is a diagram showing an example of the data input / output form 30 provided with a heading 36 composed of one cell. In this example, one heading 36 is attached to the entire sheet. By dragging and dropping the headline 36 to the corresponding “product code” field, the headline 36 is associated with all data input to the data area 32.

また、図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 data area 32 is divided into areas 32a, 32b, and 32c one column at a time. In each area, data of “stock amount”, “undelivered item”, and “revaluation reduction” are input. In the above-described embodiment, one data area 32 is composed of areas composed of a plurality of rows. For example, in the data input / output form shown in FIG. 2, each column of the data area 32 indicates data relating to “Company A” and “Company B”. In this case, in the database 25, any data of “Company A” and “Company B” is input in the “Company name” field, and the data in the data area 32 is any data of “Company A” or “Company B”. Are stored in the same record. On the other hand, in the data input / output form shown in FIG. 11, each data area 32 a, 32 b, 32 c corresponds to different fields “stock price”, “not received”, “devaluation” in the database 25. This data input / output form 30 can also be mapped by designating fields corresponding to the respective column header areas 32a, 32b, and 32c as shown in FIG.

また、上記実施形態では、行見出しエリア33、列見出しエリア34の2つの見出しエリアを有するデータ入出力フォーム30を例として説明したが、本発明は、見出しエリアが3つ以上あるデータ入出力フォームにも適用可能である。例えば、図12に示すように、勘定科目を示す行見出しエリア33と、期間を示す列見出しエリア34と、会社を示すシート見出しエリア37を有してもよい。この場合には、データエリア内のセルは、(シート情報、行情報、列情報)の3つの情報によって位置を表現できる。この位置情報に基づいて、データエリア32のセルのデータと、それぞれの見出しエリアのセルの対応するデータとをデータベース25の同一レコードに格納できる。このように、セルの位置を管理する情報を多次元にすることにより、見出しの数が3つ以上であっても対応可能である。   In the above-described embodiment, the data input / output form 30 having two heading areas of the row heading area 33 and the column heading area 34 has been described as an example. However, the present invention is a data input / output form having three or more heading areas. It is also applicable to. For example, as shown in FIG. 12, it may have a row heading area 33 indicating an account item, a column heading area 34 indicating a period, and a sheet heading area 37 indicating a company. In this case, the position of the cell in the data area can be expressed by three pieces of information (sheet information, row information, and column information). Based on this position information, the cell data in the data area 32 and the corresponding data in each heading area cell can be stored in the same record in the database 25. In this way, by making the information for managing the cell position multidimensional, it is possible to cope with even the number of headings of three or more.

図13は、複数のデータエリア32,38が行見出しエリア33を共有するデータ入出力フォーム30を示す図である。このようなデータ入出力フォーム30のデータマッピングを行う場合には、それぞれのデータエリア32,38ごとに行見出しエリア33および列見出しエリア34をマッピングすることも可能であるが、マッピング済の行見出しエリア33の情報を流用することにより、マッピングを容易にすることができる。例えば、最初に左側のデータエリア32についてマッピングし、次に右側のデータエリア38をマッピングする際には、データエリア32でマッピングした行見出しエリア33の情報を流用する。   FIG. 13 is a diagram showing a data input / output form 30 in which a plurality of data areas 32 and 38 share a row header area 33. When such data mapping of the data input / output form 30 is performed, it is possible to map the row header area 33 and the column header area 34 for each of the data areas 32 and 38. By using the information in the area 33, mapping can be facilitated. For example, when the left data area 32 is first mapped and then the right data area 38 is mapped, the information of the row header area 33 mapped in the data area 32 is used.

図14は、行見出しエリア33の流用を設定する画面を示す。例えば、行見出しとなる勘定科目をクリックすることにより、ポップアップを表示する。ポップアップには、既にマッピングされた行見出しの一覧が表示される。このポップアップ表示から、流用する行見出しを選択することにより、再度行見出しエリア33をドラッグアンドドロップしないでマッピング可能である。データ入出力フォーム30が大きくてモニタ21に入りきらない場合にも、マッピングを容易に行える。   FIG. 14 shows a screen for setting the diversion of the row heading area 33. For example, a pop-up is displayed by clicking on an account item as a row heading. The pop-up displays a list of already mapped line headings. By selecting a row header to be diverted from this pop-up display, the row header area 33 can be mapped again without dragging and dropping. Mapping can be easily performed even when the data input / output form 30 is too large to fit into the monitor 21.

次に、本発明の第2の実施形態のデータマッピング装置1について説明する。第2の実施形態のデータマッピング装置1は、データを入出力するためのセルがマトリックス状に並んだシートにデータ入出力フォームを作成し、作成したデータ入出力フォームとデータベースと連携させる装置である。以下の説明では、データベースのデータを出力する出力用のデータ出力フォームを作成する例について説明するが、第2の実施形態のデータマッピング装置1によりデータ入出力用のデータ入出力フォームを作成することも可能である。   Next, the data mapping apparatus 1 according to the second embodiment of the present invention will be described. A data mapping apparatus 1 according to the second embodiment is an apparatus that creates a data input / output form on a sheet in which cells for inputting / outputting data are arranged in a matrix and links the created data input / output form to a database. . In the following description, an example of creating an output data output form for outputting database data will be described. However, a data input / output form for data input / output is created by the data mapping apparatus 1 of the second embodiment. Is also possible.

図15は、第2の実施形態のデータマッピング装置1の構成を示す図である。第2の実施の形態のデータマッピング装置1は、第1の実施形態のデータマッピング装置1と基本的な構成は同じであるが、データ入出力フォーム表示手段11に代えてシート表示手段17を備え、さらに、基点セル受付手段18およびエリア種別設定手段19を備えている。また、判定手段14は、第1の実施形態のデータマッピング装置1と同様の整合性の判定に加え、データエリアおよび見出しエリアが適切な場所に設定されているか否かを判定する。   FIG. 15 is a diagram illustrating a configuration of the data mapping apparatus 1 according to the second embodiment. The data mapping apparatus 1 of the second embodiment has the same basic configuration as the data mapping apparatus 1 of the first embodiment, but includes a sheet display means 17 instead of the data input / output form display means 11. Furthermore, a base cell receiving means 18 and an area type setting means 19 are provided. Further, the determination unit 14 determines whether or not the data area and the heading area are set at appropriate locations, in addition to the consistency determination similar to that of the data mapping apparatus 1 of the first embodiment.

シート表示手段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 type setting unit 19 has a function of setting a range in which a data area can be set and a range in which a heading area can be set in the displayed sheet. The area type setting unit 19 divides the sheet into respective ranges based on the base cell received by the base cell receiving unit 18.

図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 cell receiving unit 18. As shown in FIG. 16, the sheet display means 17 displays a sheet in which the heading area and the data area are not defined. When the base point setting button 70 is pressed in a state where any cell 71 on the sheet is focused, the base cell receiving unit 18 receives the focused cell 71 as the base cell.

エリア種別設定手段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 vertical axis 72 and a horizontal axis 73 that pass through the upper left point of the base cell 71, and the lower right range is the data area settable range. 74, and the remaining range is a heading area settable range 75. Since the sheet extends rightward and downward, the size of the data output area is not limited by setting the lower right range of the four ranges as the data area settable range 74. It is also possible to cope with fluctuations in the data amount of the database 25. In addition, since there is a heading area setting range 75 above and to the left of the data area setting range 74, it is possible to set a heading area corresponding to the data area.

第2の実施形態においては、HDDのデータベース25には、各フィールドに格納されるデータの種別情報が記憶されている。データ種別情報とは、各フィールドに格納されるデータが、見出しのデータであるか、見出しに対応する値のデータであるかを識別するための情報である。例えば、図18に示すように、会計報告データにおいては、勘定項目や会社名のデータ種別は見出しであり、勘定科目や会社に対応する報告数値のデータ種別は値である。   In the second embodiment, the HDD database 25 stores data type information stored in each field. The data type information is information for identifying whether the data stored in each field is heading data or value data corresponding to the heading. For example, as shown in FIG. 18, in the accounting report data, the data type of the account item and the company name is a headline, and the data type of the report numerical value corresponding to the account item and the company is a value.

判定手段14は、指定手段13によって指定されたデータエリアまたは見出しエリアがシート上の適切な場所に指定されたか否か、すなわち、シート上のエリアの種別とフィールドのデータ種別が一致しているか否かを判定する機能を有する。具体的には、判定手段14は、データ種別が見出しのフィールドに対応付けられたエリアを見出しエリア、データ種別が値のフィールドに対応付けられたエリアをデータエリアとし、見出しエリアが見出しエリア設定可能範囲内にあるか、データエリアがデータエリア設定可能範囲内にあるかを判定する。また、判定手段14は、第1の実施の形態と同様に、指定された列見出し、行見出しとデータエリアとの整合性を判定する機能も有する。   The determination unit 14 determines whether the data area or the heading area specified by the specifying unit 13 is specified at an appropriate place on the sheet, that is, whether the type of the area on the sheet matches the data type of the field. It has a function to determine whether. Specifically, the determination unit 14 can set an area associated with a field whose data type is a heading as a heading area, an area associated with a field whose data type is a value as a data area, and the heading area can be set as the heading area. It is determined whether it is within the range or the data area is within the data area settable range. The determination unit 14 also has a function of determining the consistency between the designated column heading and row heading and the data area, as in the first embodiment.

図19は、第2の実施形態のデータマッピング装置1の動作を示す図である。第2の実施形態では、データマッピング装置1は、まず、シート表示手段17によってシートを表示し(S30)、フィールド表示手段12によってデータベース25のフィールドを表示する(S32)。   FIG. 19 is a diagram illustrating an operation of the data mapping apparatus 1 according to the second embodiment. In the second embodiment, the data mapping apparatus 1 first displays a sheet by the sheet display unit 17 (S30), and displays a field of the database 25 by the field display unit 12 (S32).

続いて、データマッピング装置1は、基点セルの設定を受け付ける(S34)。基点セルの設定を受け付けると、データマッピング装置1のエリア種別設定手段19は、設定された基点セルに基づいて、シートをデータエリア設定可能範囲および見出しエリア設定可能範囲を設定する(S36)。なお、基点セルに基づくデータエリア設定可能範囲および見出しエリア設定可能範囲の設定は、図17で説明した方法により行う。   Subsequently, the data mapping apparatus 1 accepts the setting of the base cell (S34). When receiving the setting of the base point cell, the area type setting unit 19 of the data mapping apparatus 1 sets the data area settable range and the heading area settable range for the sheet based on the set base point cell (S36). The setting of the data area settable range and the heading area settable range based on the base cell is performed by the method described with reference to FIG.

次に、データマッピング装置1の指定手段13は、エリアの指定を受け付け(S38)、指定されたエリアに対応付けるフィールドの指定を受け付ける(S40)。図20は、エリアの指定とフィールドの指定を受け付けるときの画面例を示す図である。図20に示すように、シート上のエリアを指定し、指定されたエリアをフィールドにドラッグアンドドロップすることにより、エリアをマッピングするフィールドを指定する。   Next, the designation unit 13 of the data mapping apparatus 1 accepts designation of an area (S38) and accepts designation of a field associated with the designated area (S40). FIG. 20 is a diagram illustrating an example of a screen when an area designation and a field designation are accepted. As shown in FIG. 20, by designating an area on the sheet and dragging and dropping the designated area onto the field, the field to which the area is mapped is designated.

データマッピング装置1の判定手段14は、指定されたエリアの種別とフィールドのデータ種別が一致しているか否かを判定する(S42)。具体的には、判定手段14は、フィールドのデータ種別情報をデータベース25から読み出し、読み出したデータ種別情報に基づいて、各フィールドに対応付けられたエリアの種別を決定する。すなわち、データ種別が見出しのフィールドに対応付けられたエリアを見出しエリア、データ種別が値のフィールドに対応付けられたエリアをデータエリアとする。そして、判定手段14は、見出しエリアが見出しエリア設定可能範囲内にあるか、データエリアがデータエリア設定可能範囲内にあるかを判定する。図20の例では、見出しのフィールド41,42に対応付けられた見出しエリア76,77は見出しエリア設定可能範囲内にあり、データ種別が値のフィールド43に対応付けられたデータエリア78はデータエリア設定可能範囲内にあるので、判定手段14は、エリア指定が整合していると判定する。これに対し、図21に示す例では、データ種別が値のフィールド43に対応付けられたエリア76がデータエリアと決定され、データエリアが見出しエリア設定可能範囲内にあるので、判定手段14はエリアとフィールドに対応付けに不整合があると判定する。そして、データマッピング装置1は、エリア指定の誤りをユーザに知らせる(S50)。   The determination unit 14 of the data mapping apparatus 1 determines whether or not the specified area type matches the field data type (S42). Specifically, the determination unit 14 reads the data type information of the field from the database 25, and determines the type of area associated with each field based on the read data type information. That is, an area associated with a field whose data type is a heading is a heading area, and an area associated with a field whose data type is a value is a data area. Then, the determination unit 14 determines whether the heading area is within the heading area settable range or the data area is within the data area settable range. In the example of FIG. 20, the header areas 76 and 77 associated with the header fields 41 and 42 are within the header area setting range, and the data area 78 associated with the value field 43 is the data area. Since it is within the settable range, the determination unit 14 determines that the area designation is consistent. On the other hand, in the example shown in FIG. 21, the area 76 associated with the value field 43 of the data type is determined as the data area, and the data area is within the settable area setting range. It is determined that there is an inconsistency in the correspondence between the fields. Then, the data mapping apparatus 1 notifies the user of an area designation error (S50).

判定手段14による判定によってエリアとフィールドの種別が整合していると判定されたときには、データマッピング装置1は、指定されたエリアとフィールドのマッピングを行う(S44)。以下の動作は第1の実施の形態と同様で、データマッピング装置1は、全エリアが指定されたか否かを判定し(S46)、全エリアについてマッピングが終了したと判定されると、データマッピング装置1は、指定されたエリアの整合性がとれているか判定する(S48)。整合性がとれていると判定された場合に、データマッピング装置1によるデータマッピングの動作は終了し、整合性がとれていないと判定された場合は、再度エリア指定を促す(S50)。   When it is determined by the determination unit 14 that the area and field types are consistent, the data mapping apparatus 1 performs mapping of the designated area and field (S44). The following operations are the same as those in the first embodiment, and the data mapping apparatus 1 determines whether or not all areas have been designated (S46). If it is determined that the mapping has been completed for all areas, the data mapping is performed. The device 1 determines whether the designated area is consistent (S48). When it is determined that the consistency is achieved, the data mapping operation by the data mapping apparatus 1 is completed. When it is determined that the consistency is not achieved, the area designation is prompted again (S50).

次に、第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 data mapping apparatus 1 of the second embodiment will be described. FIG. 22 is a diagram illustrating an example of data stored in the database 25. When areas and fields are mapped as in the example of FIG. 20, the screen shown in FIG. 23 is output from the data in the database 25 shown in FIG. That is, since the row header area 76 is mapped to the account item (see FIG. 20), data is read from the account item field of the database 25 as the row header. Since the column header area 77 is mapped to the company name (see FIG. 20), data is read from the company name field of the database 25 as the column header. Then, for each cell in the data area 78, the data stored in the same record as the row header and column header data corresponding to the position of each cell is read. For example, data read to the cell 79 in 2 rows and 1 column of the data area is obtained as follows. The data of the row header corresponding to the cell 79 in 2 rows and 1 column is “cost of sales”, and the data of the corresponding column header is “A”. Therefore, in the database 25 shown in FIG. 22, the report numerical value stored in the same record as “cost of sales” “A” is “50” in the third row. Therefore, a value of “50” is read out to the cell 79 in 2 rows and 1 column.

以上、本発明の第2の実施形態のデータマッピング装置1について説明した。   The data mapping apparatus 1 according to the second embodiment of the present invention has been described above.

第2の実施形態のデータマッピング装置1は、マトリックス状に配置された複数のセルを有するシートにおいて、セルを含むエリアとデータベースのフィールドとを対応付けることにより、対応付けられたエリアとフィールドとがマッピングされ、シートにデータ出力フォームを作成することができる。   The data mapping apparatus 1 according to the second embodiment maps a mapped area and a field by associating an area including the cell with a database field in a sheet having a plurality of cells arranged in a matrix. You can create a data output form on the sheet.

また、第2の実施形態のデータマッピング装置1は、シートにデータエリア設定可能範囲と見出しエリア設定可能範囲を設定し、エリアとフィールドの指定がなされた際に、指定されたエリアの種別とフィールドのデータ種別が一致しているか否かを判定する。これにより、誤ったエリア指定を防止し、データ入出力装置を作成するユーザを支援することができる。   The data mapping apparatus 1 according to the second embodiment sets a data area settable range and a heading area settable range on a sheet, and when the area and field are specified, the type and field of the specified area are specified. It is determined whether or not the data types match. Thereby, an erroneous area designation can be prevented and a user who creates a data input / output device can be supported.

上記した第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 interface 80 for selecting an option for outputting a company name when a column heading is associated with a company name field. When automatic expansion is selected in this interface 80, column headings are expanded and output for all companies stored in the database 25 when data is output to the data output form.

図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 database 25 is sequentially read out to the data output form to display the column. Configure the heading. Specifically, a column is added according to the number of companies read out, and a column heading area is configured in the added column. For example, when the data of 10 companies is read out, 9 columns are added and a total of 10 column heading areas are displayed. By expanding by adding a column, the data area is expanded as the column header area is expanded. Therefore, data corresponding to the column heading area can be displayed in the data area.

図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 database 25, which is particularly effective in a data output form.

自動展開の機能を使用するときには、データ入出力フォームの作成時には、データ出力時のデータ入出力フォームの広がりを予測できないが、第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 determination unit 14 performs the matching described in the second embodiment when setting the column header area and the data area. In addition to the consistency check, it is preferable to perform the next consistency check, and to notify the user of the inconsistency in the area setting when consistency is not achieved. First, it is checked whether or not the column heading area for which the automatic expansion option is set corresponds to the position of the data area, that is, whether or not they are in the same column. As described above, this is to prevent the relationship between the column header area and the data area from being lost in the data input / output form automatically expanded at the time of data output. Second, it is checked whether another heading area exists in the same column as the column heading area for which the automatic expansion option is set. A column heading area in which the automatic expansion option is set adds a column at the time of data output. Therefore, if there is another heading area in the same column, there is a disadvantage that the column is added to the heading area. The second inconsistency check prevents the above inconvenience by preventing another heading from being set in the same column as the extended column heading area.

なお、図24に示すインターフェース80にて、固定見出しを選択した場合には、指定したエリアに合った数の会社名の見出しが出力される。例えば、3列の見出しが指定されたときは、3つの会社のデータが出力される。この際、データベース25に格納された会社の数が指定した列見出しの数より多い場合には、出力する会社を会社マスタから選択してもよい。   Note that when a fixed headline is selected on the interface 80 shown in FIG. 24, headlines having the same number of company names as the designated area are output. For example, when three columns of headings are designated, data for three companies is output. At this time, if the number of companies stored in the database 25 is larger than the number of designated column headings, the company to be output may be selected from the company master.

また、第2の実施形態または第3の実施形態のデータマッピング装置1の各構成要素の機能を実現するモジュールを備えたプログラムも本発明の範囲に含まれる。   Moreover, the program provided with the module which implement | achieves the function of each component of the data mapping apparatus 1 of 2nd Embodiment or 3rd Embodiment is also contained in the scope of the present invention.

以上説明したように、本発明は、データ入出力フォームのデータエリアおよび見出しエリアの各セルに対して、そのセルのデータの格納場所を個々に指定する必要がなく、データエリアおよび見出しエリアとそれぞれに対応するフィールドを指定するという簡易な操作でマッピングを行えるという効果を有し、データ入出力フォームとデータベースとを連携したデータ入出力装置を作成するためのデータマッピング装置等として有用である。   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.

実施形態に係るデータマッピング装置の構成を示す図である。It is a figure which shows the structure of the data mapping apparatus which concerns on embodiment. 実施形態に係るデータマッピング装置により表示される画面を示す図である。It is a figure which shows the screen displayed by the data mapping apparatus which concerns on embodiment. 実施形態に係るデータマッピング装置によりデータエリアおよびフィールドを指定するインターフェースを示す図である。It is a figure which shows the interface which designates a data area and a field with the data mapping apparatus which concerns on embodiment. 実施形態に係るデータマッピング装置により列見出しエリアおよびフィールドを指定するインターフェースを示す図である。It is a figure which shows the interface which designates a column header area and a field with the data mapping apparatus which concerns on embodiment. 列見出しに選択肢をポップアップ表示するための設定画面である。This is a setting screen for popping up choices in column headings. 実施形態に係るデータマッピング装置によるマッピングについて説明する図である。It is a figure explaining the mapping by the data mapping apparatus which concerns on embodiment. 実施形態に係るデータマッピング装置によるマッピングについて説明するための図である。It is a figure for demonstrating the mapping by the data mapping apparatus which concerns on embodiment. 実施形態に係るデータマッピング装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the data mapping apparatus which concerns on embodiment. 実施形態に係るプログラムを示す図である。It is a figure which shows the program which concerns on embodiment. 他のデータ入出力フォームの例を示す図である。It is a figure which shows the example of another data input / output form. 他のデータ入出力フォームの例を示す図である。It is a figure which shows the example of another data input / output form. 他のデータ入出力フォームの例を示す図である。It is a figure which shows the example of another data input / output form. 他のデータ入出力フォームの例を示す図である。It is a figure which shows the example of another data input / output form. 設定済の行見出しエリアを流用する設定画面である。It is a setting screen which diverts the set line heading area. 第2の実施形態に係るデータマッピング装置の構成を示す図である。It is a figure which shows the structure of the data mapping apparatus which concerns on 2nd Embodiment. 第2の実施形態に係るデータマッピング装置により表示される画面を示す図である。It is a figure which shows the screen displayed by the data mapping apparatus which concerns on 2nd Embodiment. 見出しエリア設定可能範囲とデータエリア設定可能範囲を示す図である。It is a figure which shows the heading area settable range and the data area settable range. データベースのフィールドの種別を示す図である。It is a figure which shows the classification of the field of a database. 第2の実施形態に係るデータマッピング装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the data mapping apparatus which concerns on 2nd Embodiment. 第2の実施形態に係るデータマッピング装置によるマッピングについて説明する図である。It is a figure explaining the mapping by the data mapping apparatus which concerns on 2nd Embodiment. 第2の実施形態に係るデータマッピング装置によるマッピングについて説明する図である。It is a figure explaining the mapping by the data mapping apparatus which concerns on 2nd Embodiment. データベースに格納されたデータの例を示す図である。It is a figure which shows the example of the data stored in the database. 第2の実施形態に係るデータマッピング装置によるマッピングの結果を示す図である。It is a figure which shows the result of the mapping by the data mapping apparatus concerning 2nd Embodiment. 列見出しエリアの自動展開を設定する画面例を示す図である。It is a figure which shows the example of a screen which sets automatic expansion | deployment of a column header area. 列見出しエリアの自動展開を行ったときのデータ出力例について説明する図である。It is a figure explaining the example of a data output when performing automatic expansion | deployment of a column header area.

符号の説明Explanation of symbols

1・・・データマッピング装置、10・・・制御部、11・・・入出力フォーム表示手段、12・・・フィールド表示手段」、13・・・指定手段、14・・・判定手段、15・・・マッピング手段、16・・・データベース制御手段、21・・・モニタ、22・・・キーボード、23・・・マウス、24・・・HDD、25・・・データベース、30・・・データ入出力フォーム、40・・・フィールド情報。

DESCRIPTION OF SYMBOLS 1 ... Data mapping apparatus, 10 ... Control part, 11 ... Input-output form display means, 12 ... Field display means ", 13 ... Designation means, 14 ... Determination means, 15 * ..Mapping means, 16 ... database control means, 21 ... monitor, 22 ... keyboard, 23 ... mouse, 24 ... HDD, 25 ... database, 30 ... data input / output Form, 40 ... field information.

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.
前記指定を受け付ける手段は、前記データエリアを指定する際に前記データエリアがデータを入力するためのエリアかデータを表示するためのエリアかの選択を受け付ける、ことを特徴とする請求項1又は2に記載のデータマッピング装置。 The means for accepting the designation accepts selection of whether the data area is an area for inputting data or an area for displaying data when the data area is designated. The data mapping apparatus described in 1. データの入力または表示を行うデータ入出力フォームとデータベースとを連携したデータ入出力装置を作成するデータマッピング装置であって、
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示する手段と、
前記データベースの複数のフィールドを表示する手段と、
前記データ入出力フォームのエリアが、表示された前記フィールドのいずれかにドラッグアンドドロップされることに応じて、前記エリア内のセルのデータが当該フィールドに格納されるようにマッピングする手段と、
を備えることを特徴とするデータマッピング装置。
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.
前記マッピングを受け付けるステップでは、前記エリアと前記フィールドとをマッピングする際に、前記エリアがデータを入力するためのエリアかデータを表示するためのエリアかの選択を受け付ける、ことを特徴とする請求項13又は14に記載のプログラム。 The step of accepting the mapping, when mapping the area and the field, accepts selection of whether the area is an area for inputting data or an area for displaying data. The program according to 13 or 14. データの入力または表示を行うデータ入出力フォームとデータベースとを連携させるプログラムであって、
データを入力または表示可能な複数のセルを有する前記データ入出力フォームを表示するステップと、
前記データベースの複数のフィールドを表示するステップと、
前記データ入出力フォームのエリアが、表示された前記フィールドのいずれかにドラッグアンドドロップされることに応じて、前記エリア内のセルのデータが当該フィールドに格納されるようにマッピングするステップと、
をコンピュータに実行させることを特徴とするプログラム。
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.
請求項13〜23のいずれかに記載のプログラムを記録した記録媒体。

The recording medium which recorded the program in any one of Claims 13-23.

JP2004152049A 2003-07-03 2004-05-21 Data mapping apparatus, data mapping method, and program Expired - Lifetime JP4636814B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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