JP2000003401A - Form preparation processing system - Google Patents

Form preparation processing system

Info

Publication number
JP2000003401A
JP2000003401A JP10167861A JP16786198A JP2000003401A JP 2000003401 A JP2000003401 A JP 2000003401A JP 10167861 A JP10167861 A JP 10167861A JP 16786198 A JP16786198 A JP 16786198A JP 2000003401 A JP2000003401 A JP 2000003401A
Authority
JP
Japan
Prior art keywords
data
data input
output field
search
input
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.)
Pending
Application number
JP10167861A
Other languages
Japanese (ja)
Inventor
Koki Yamashita
幸喜 山下
Tetsuji Fukada
哲司 深田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10167861A priority Critical patent/JP2000003401A/en
Publication of JP2000003401A publication Critical patent/JP2000003401A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To retrieve data from an existing database table and to easily output it by inputting or outputting variable data to the data input/output field of an optional form. SOLUTION: A data item desired to be generated as the data input/output field is selected. Then, data input/output field information is generated by a program 205. Then, a retrieval condition for executing a retrieval to a selected table is set by an operator by permitting data outputted from the table by data input/output field, which is previously generated on a display 201, or inputted by the operator to be a key. A data reference inquiry name is given in order to discriminate the contents of the set retrieval condition. Then, the data input/output field is generated on the display 201 from input/output field information which is generated by the program 205 and set in the attribute of the form by the data reference inquiry name to which data input/output field information is given.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、帳票定義を作成す
る方法及び、帳票定義に応じたデータベースの検索、更
新を処理する方法並びに帳票作成システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of creating a form definition, a method of processing a database search and update according to the form definition, and a form creation system.

【0002】[0002]

【従来の技術】従来、帳票作成システムに関するものと
しては、特開平6−110910号公報に開示されてい
る。これは、帳票処理時の帳票データを格納するデータ
ベースのテーブルを、入力した帳票のフォーマットから
得られるようにした帳票作成システムである。また、帳
票毎に定義される帳票処理の内容などに基づいて、全体
の処理関係や実行順序を表す帳票間の対応関係を得られ
るようにし、関連する複数の帳票処理を連動して実行す
る帳票作成システムである。さらに、任意の帳票に対し
てのデータ入力をトリガとして自動起動が行える帳票作
成システムである。
2. Description of the Related Art Conventionally, a system relating to a form creation system is disclosed in Japanese Patent Application Laid-Open No. Hei 6-110910. This is a form creation system in which a table of a database storing form data at the time of form processing is obtained from an input form format. Also, based on the contents of the form processing defined for each form, etc., it is possible to obtain correspondence between forms representing the overall processing relationship and execution order, and to execute a plurality of related form processes in conjunction with each other It is a creation system. Further, there is provided a form creation system which can be automatically started by data input to an arbitrary form as a trigger.

【0003】[0003]

【発明が解決しようとする課題】この帳票作成システム
においては、手操作による処理の繁雑さの解消と短期間
で帳票作成を行うことを要求されている。本発明は、検
索式組み立てにおいて、検索条件の中にデータ入出力フ
ィールドを組込み、検索式を自動で作成することによる
手操作による処理の繁雑さの解消と、任意の帳票の検索
定義情報とデータ入出力フィールドの属性情報を取り込
むことによる短期間で帳票作成を行える帳票作成システ
ムを提供することを目的とする。
In this form creation system, it is required to eliminate the complexity of manual processing and to create a form in a short period of time. The present invention incorporates a data input / output field into a search condition in assembling a search expression, and eliminates the complexity of manual processing by automatically creating a search expression, as well as search definition information and data of an arbitrary form. An object of the present invention is to provide a form creation system that can create a form in a short time by taking in attribute information of input / output fields.

【0004】[0004]

【課題を解決するための手段】この課題を解決するため
に本発明は、データベーステーブル選択手段と、データ
ベーステーブルを構成するデータ項目を任意に選択する
ためのデータ項目選択手段と、データ入出力フィールド
に出力または入力されたデータをキーにして、データベ
ーステーブルのデータを検索する検索条件設定手段と、
データ入出力フィールド情報作成手段と、任意に選択さ
れたデータ項目を帳票フォーマット作成画面上にデータ
入出力フィールドとして作成するデータ入出力フィール
ド作成手段と、データ入出力フィールド情報を帳票の属
性として記憶するデータ入出力フィールド情報記憶手段
と、検索定義情報作成手段と、検索式組み立て手段と、
検索式実行手段と、データ表示手段とを備えたものであ
る。
According to the present invention, there is provided a database table selecting means, a data item selecting means for arbitrarily selecting data items constituting a database table, and a data input / output field. Search condition setting means for searching data in a database table, using data output or input as a key,
Data input / output field information creating means, data input / output field creating means for creating arbitrarily selected data items as data input / output fields on a form format creation screen, and storing data input / output field information as form attributes Data input / output field information storage means, search definition information creating means, search formula assembling means,
It is provided with a search expression executing means and a data display means.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図1から図19を用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS.

【0006】(実施の形態1)図1は本発明の処理手順
の一実施例を示すフローチャートである。図2は、本発
明を実施する計算機装置のハードウェア構成を示すもの
である。図2において、ディスプレイ201は本装置で
作成した帳票を表示したり、各種入力画面等を表示する
出力装置。キーボード202はシステムに対する文字や
数値で表現するデータを入力するための入力装置であ
る。またマウス203はディスプレイ201上の入出力
フィールド作成、選択や各種入力画面呼び出しのための
ポインティング型の入力装置。処理装置204は、各種
処理に必要な定義情報を記憶保持するための記憶装置2
06を有しており、この記憶装置206および前記の各
種入出力機器の制御を司るものであり、各機器からの入
力データの受け付け、そしてデータの検索、そしてディ
スプレイ201への出力を行うもので、内部に格納され
たプログラム205によって、これら各機器の動作を制
御する。
(Embodiment 1) FIG. 1 is a flowchart showing an embodiment of the processing procedure of the present invention. FIG. 2 shows a hardware configuration of a computer device for implementing the present invention. In FIG. 2, a display 201 is an output device that displays a form created by the present device and displays various input screens. A keyboard 202 is an input device for inputting data expressed by characters and numerical values to the system. A mouse 203 is a pointing-type input device for creating and selecting input / output fields on the display 201 and calling various input screens. The processing device 204 is a storage device 2 for storing definition information necessary for various processes.
06, which controls the storage device 206 and the various input / output devices described above, receives input data from each device, searches for data, and outputs the data to the display 201. The operation of each of these devices is controlled by a program 205 stored therein.

【0007】次に、図1のフローチャートを参照して、
図2の装置において帳票を作成する処理について説明す
る。まず、プログラム205は、テーブル管理情報テー
ブルからテーブル管理情報と、フィールド管理情報テー
ブルからフィールド管理情報を記憶装置206に読み込
む(ステップ101)。そして前記テーブル管理情報か
らテーブル名を取得し、一覧として表示する(ステップ
102)。操作者により、テーブルが選択されると(ス
テップ103)、プログラム205は選択されたテーブ
ルの中のデータ項目名を表示する(ステップ104)。
さらに操作者により、データ入出力フィールドとして作
成したいデータ項目が選択される(ステップ105)。
すると、プログラム205はデータ入出力フィールド情
報を作成する(ステップ106)。次に、あらかじめデ
ィスプレイ201上に作成されたデータ入出力フィール
ドに別のテーブルから出力または操作者により入力され
たデータをキーにして、選択したテーブルへの検索を実
施するための検索条件が、操作者により設定される(ス
テップ107)。検索条件の設定を続ける場合はステッ
プ107に戻る。検索条件の設定が完了した場合、操作
者により、設定した検索条件の内容を判別するためにデ
ータ参照照会名が付与される(ステップ108)。する
と、プログラム205はステップ106で作成したデー
タ入出力フィールド情報から、データ入出力フィールド
をディスプレイ201上に作成し(ステップ109)、
データ入出力フィールド情報をステップ108で付与さ
れたデータ参照照会名で帳票の属性(図10の100
4)に設定する(ステップ1010)。以上のような手
順で、一つの帳票が定義作成される。
Next, referring to the flowchart of FIG.
Processing for creating a form in the apparatus shown in FIG. 2 will be described. First, the program 205 reads the table management information from the table management information table and the field management information from the field management information table into the storage device 206 (step 101). Then, a table name is acquired from the table management information and displayed as a list (step 102). When the operator selects a table (step 103), the program 205 displays the data item names in the selected table (step 104).
Further, the operator selects a data item to be created as a data input / output field (step 105).
Then, the program 205 creates data input / output field information (step 106). Next, a search condition for performing a search on the selected table using data output from another table or input by an operator as a key in a data input / output field created in advance on the display 201 is defined as an operation condition. Is set by the user (step 107). When the setting of the search condition is continued, the process returns to step 107. When the setting of the search condition is completed, the operator gives a data reference query name to determine the content of the set search condition (step 108). Then, the program 205 creates a data input / output field on the display 201 from the data input / output field information created in step 106 (step 109),
The data input / output field information is attributed to the form (100 in FIG. 10) by the data reference query name given in step 108.
4) is set (step 1010). According to the above procedure, one form is defined and created.

【0008】図3は図2の記憶装置206に読み込んだ
テーブル管理情報301、フィールド管理情報302を
示す。テーブル管理情報301の“帳票名”には、操作
者により付与された帳票の名前が設定されている。“テ
ーブル名”には前記帳票がデータを参照するテーブル名
が設定されている。なお、“テーブル名”の値は、シス
テムがユニークな値を自動で付与している。そのため、
テーブル名に基づいて、そのテーブルのフィールド管理
情報にアクセスすることができる。フィールド管理情報
302の“テーブル名”にはテーブル管理情報301の
“テーブル名”に対応する値が設定されている。“項目
名”には301の“帳票名”に設定された帳票に存在す
る項目名が設定されている。“カラム名”にはテーブル
中の列名が設定されている。カラム名はシステムが“テ
ーブル名_連番号”という形で設定するため、“項目
名”に重複する名前が設定されていても、異なるデータ
項目として扱うことができる。“行数”には入出力可能
なデータ行数の値が設定されている。“桁数”には入出
力可能なデータ桁数の値が設定されている。この行数と
桁数から、ステップ104で作成するデータ入出力フィ
ールドの大きさが決定される。“データ型”にはその項
目に入出力可能なデータの型が設定されている。“ch
ar”と設定すれば文字データが、“decimal”
と設定すれば数値データが入出力可能となる。他には
“money”(金額データ)、“date”(日付デ
ータ)が設定できる。“データ長”にはその項目の入出
力可能なデータ長が設定されている。
FIG. 3 shows table management information 301 and field management information 302 read into the storage device 206 of FIG. In the “form name” of the table management information 301, the name of the form given by the operator is set. In the “table name”, a table name to which the form refers to data is set. Note that the system automatically assigns a unique value to the value of “table name”. for that reason,
Based on the table name, the field management information of the table can be accessed. In the “table name” of the field management information 302, a value corresponding to the “table name” of the table management information 301 is set. In “item name”, an item name existing in the form set in “form name” 301 is set. The column name in the table is set in “column name”. Since the system sets the column name in the form of “table name_serial number”, even if a duplicate name is set in “item name”, it can be treated as a different data item. In the “number of rows”, a value of the number of data rows that can be input / output is set. The value of the number of data digits that can be input / output is set in the “number of digits”. The size of the data input / output field created in step 104 is determined from the number of rows and the number of digits. In the “data type”, the type of data that can be input / output for the item is set. “Ch
If "ar" is set, the character data will be "decimal"
If it is set, numerical data can be input / output. In addition, "money" (money data) and "date" (date data) can be set. In “data length”, a data length that can be input / output of the item is set.

【0009】図4は、図1のステップ102によりデー
タベーステーブルの一覧をディスプレイ201上に表示
したものである。図4の帳票一覧画面401には、テー
ブル管理情報301の“帳票名”に設定されている帳票
名が一覧表示される。操作者は必要な帳票を選択するこ
とにより、容易にデータベーステーブルを選択すること
が可能となる。
FIG. 4 shows a list of database tables displayed on the display 201 in step 102 of FIG. A form list screen 401 shown in FIG. 4 displays a list of form names set in "form name" of the table management information 301. The operator can easily select a database table by selecting a required form.

【0010】図5は、ステップ103で選択されたデー
タベーステーブルの中の項目を、データ入出力フィール
ドとして作成するかどうかを選択するためのデータ参照
照会画面501である。帳票名502には、図1のステ
ップ103で選択されたデータベーステーブルに該当す
る帳票名が表示される。項目名503には、選択された
データベーステーブルの中の項目に該当する項目名が、
フィールド管理情報302を基にして表示される。表示
ボタン504は、操作者がマウス203を使って、設定
または解除することが可能なものである。操作者によ
り、データ入出力フィールドとして作成したいデータ項
目の表示ボタン506に表示マークが付与されると、そ
のデータ項目がデータ入出力フィールドとして作成でき
る。
FIG. 5 shows a data reference query screen 501 for selecting whether to create an item in the database table selected in step 103 as a data input / output field. In the form name 502, a form name corresponding to the database table selected in step 103 of FIG. 1 is displayed. In the item name 503, an item name corresponding to an item in the selected database table is set.
It is displayed based on the field management information 302. The display button 504 can be set or released by the operator using the mouse 203. When a display mark is given to the display button 506 of a data item to be created as a data input / output field by the operator, the data item can be created as a data input / output field.

【0011】図6は、ステップ106により作成された
データ入出力フィールド情報601の詳細を示してい
る。601の“テーブル名”と“項目名”と“カラム
名”には、図3のフィールド管理情報302の“テーブ
ル名”と“項目名”と“カラム名”と同じものが設定さ
れる。“表示フラグ”は、ステップ105で操作者によ
り、表示マークが付与されたデータ項目には“表示”が
設定され、表示マークが付与されていないデータ項目に
は何も設定されていない。“表示”が設定されているデ
ータ項目はデータ入出力フィールドとして作成され、何
も設定されていないデータ項目はデータ入出力フィール
ドとして作成されないことを意味する。“比較演算
子”、“検索種別”、“検索条件”についての図9の説
明で述べる。
FIG. 6 shows the details of the data input / output field information 601 created in step 106. The same as “table name”, “item name”, and “column name” of the field management information 302 in FIG. 3 is set in “table name”, “item name”, and “column name” 601. As for the “display flag”, “display” is set to the data item to which the display mark is added by the operator in step 105, and nothing is set to the data item to which the display mark is not added. A data item for which “display” is set is created as a data input / output field, and a data item for which nothing is set means that it is not created as a data input / output field. “Comparison operator”, “search type”, and “search condition” will be described in the description of FIG.

【0012】図7は、ステップ106で、操作者により
あらかじめ作成されたデータ入出力フィールド702
に、出力または入力されたデータをキーとする検索条件
を設定するためのデータ参照照会画面501を、ディス
プレイ201上に表示したものである。検索条件505
には、操作者により設定された検索条件が表示される。
検索条件設定パネル506は、項目名503の各データ
項目に対して、検索条件を設定するパネルである。操作
者により、506で設定された検索条件が、検索条件5
05に表示されることになる。
FIG. 7 shows a data input / output field 702 previously created by the operator in step 106.
In addition, a data reference inquiry screen 501 for setting search conditions using output or input data as a key is displayed on the display 201. Search condition 505
Displays search conditions set by the operator.
The search condition setting panel 506 is a panel for setting a search condition for each data item of the item name 503. The search condition set in 506 by the operator is the search condition 5
05 will be displayed.

【0013】次に、図8のフローチャートを参照して、
ステップ107のデータ入出力フィールドに出力または
入力されたデータをキーにした検索条件設定処理の詳細
を説明する。まず、操作者により、図7の項目名503
の中から検索条件を設定するデータ項目がマウス203
により選択されると、検索条件設定パネル506を表示
する(ステップ1071)。次に、図7の帳票レイアウ
ト作成画面701上のキーとなるデータ入出力フィール
ド702がマウス203により選択される(ステップ1
072)。確定ボタン507が押されると、検索条件5
05に、選択されたデータ入出力フィールドの名前(項
目名)を表示する(ステップ1073)。すると、プロ
グラム205は、図6のデータ入出力フィールド情報6
01の“比較演算子”と“検索種別”と“検索条件”の
値を更新する(ステップ1074)。
Next, referring to the flowchart of FIG.
The details of the search condition setting process in step 107 using the data output or input to the data input / output field as a key will be described. First, the operator inputs the item name 503 in FIG.
The data item for setting the search condition is mouse 203
Then, the search condition setting panel 506 is displayed (step 1071). Next, a data input / output field 702 serving as a key on the form layout creation screen 701 in FIG. 7 is selected by the mouse 203 (step 1).
072). When the confirm button 507 is pressed, the search condition 5
At 05, the name (item name) of the selected data input / output field is displayed (step 1073). Then, the program 205 executes the data input / output field information 6 shown in FIG.
01, the values of the “comparison operator”, “search type”, and “search condition” are updated (step 1074).

【0014】図9は、ステップ1074で更新したデー
タ入出力フィールド情報の状態を示している。“比較演
算子”には、“=”、“!=”、“>=”、“<=”、
“IN”、“NOTIN”などの演算子が設定される。
この値は、操作者により選択することが可能である。
“検索種別”には、検索の種別を判定するためのフラグ
を設定する。データ入出力フィールドに出力または入力
されたデータをキーにした検索を行う場合は“可変”を
設定する。図7の検索条件505に表示されているデー
タをそのまま検索に使用する場合は“固定”という値を
設定する。“検索条件”には、検索条件505に表示さ
れたデータを設定する。以上のような操作で、操作者は
簡単に、データ入出力フィールドに出力および入力され
たデータをキーとする検索条件の設定を行うことが可能
となる。
FIG. 9 shows the state of the data input / output field information updated in step 1074. “Comparison operators” include “=”, “! =”, “> =”, “<=”,
Operators such as “IN” and “NOTIN” are set.
This value can be selected by the operator.
In “search type”, a flag for determining the type of search is set. To perform a search using data output or input in the data input / output field as a key, set “variable”. When the data displayed in the search condition 505 of FIG. 7 is used for the search as it is, a value “fixed” is set. In the “search condition”, the data displayed in the search condition 505 is set. Through the above operations, the operator can easily set the search condition using the data output and input in the data input / output field as a key.

【0015】図10は、ステップ109により、帳票フ
ォーマット作成画面701上に作成されたデータ入出力
フィールド1002が、ディスプレイ201に表示され
ている状態を表している。
FIG. 10 shows a state in which the data input / output field 1002 created on the form format creation screen 701 in step 109 is displayed on the display 201.

【0016】図11は、ステップ109のデータ入出力
フィールド作成処理の詳細を示すフローチャートであ
る。図11のフローチャートを参照して、データ入出力
フィールド作成処理を説明する。まず、プログラム20
5は、図1のステップ106で作成したデータ入出力フ
ィールド情報601の表示フラグの値を調べる(ステッ
プ1091)。表示フラグの値が何も設定されていない
場合は、ステップ1091に戻る。表示フラグの値が
“表示”の場合は、601の項目名をデータ入出力フィ
ールドの見出し用のフィールド(図10の1001)と
して作成する(ステップ1092)。図3のフィールド
管理情報302の行数と桁数から作成するデータ入出力
フィールドの大きさを算出する(ステップ1093)。
算出した大きさのデータ入出力フィールド(図10の1
002)を作成する(ステップ1094)。データ入出
力フィールドとして作成するデータ項目が他に存在する
場合はステップ1091に戻る。存在しない場合は図1
のステップ108で付与されたデータ参照照会名を、図
8のステップ1072で選択されたデータ入出力フィー
ルドの属性(図10の1003)に設定する(ステップ
1095)。
FIG. 11 is a flowchart showing the details of the data input / output field creation processing in step 109. The data input / output field creation processing will be described with reference to the flowchart in FIG. First, program 20
5 checks the value of the display flag of the data input / output field information 601 created in step 106 of FIG. 1 (step 1091). If no value of the display flag is set, the process returns to step 1091. If the value of the display flag is "display", the item name 601 is created as a heading field (1001 in FIG. 10) of the data input / output field (step 1092). The size of the data input / output field to be created is calculated from the number of rows and the number of digits of the field management information 302 in FIG. 3 (step 1093).
The data input / output field of the calculated size (1 in FIG. 10)
002) is created (step 1094). If there is another data item to be created as the data input / output field, the process returns to step 1091. Figure 1 if not present
The data reference query name given in step 108 is set in the attribute (1003 in FIG. 10) of the data input / output field selected in step 1072 in FIG. 8 (step 1095).

【0017】以上のように本実施の形態によれば、あら
かじめ作成されたデータベーステーブルの選択と、選択
されたデータベーステーブルの中の項目の任意選択がで
き、さらに、あらかじめ作成されたデータ入出力フィー
ルドに出力または入力されたデータをキーにして前記デ
ータベーステーブルへの検索を行う検索条件の設定と、
任意に選択されたデータ項目をデータ入出力フィールド
として作成することが簡単に行える。
As described above, according to the present embodiment, it is possible to select a database table created in advance, and to arbitrarily select items in the selected database table. Setting search conditions for searching the database table using data output or input as a key,
An arbitrarily selected data item can be easily created as a data input / output field.

【0018】(実施の形態2)図12は、操作者により
データ入出力フィールドにデータが入力されたときに、
そのデータをキーにした検索条件式を組み立て、実行す
る処理手順の一実施例を示すフローチャートである。図
13の帳票フォーマット作成画面1301は、データベ
ーステーブルの項目がデータ入出力フィールドとして作
成された状態を表す。実行ボタン1302は、操作者に
より作成された帳票を起動するために、あらかじめ用意
されたボタンである。属性1303は、データ入出力フ
ィールドの属性で、図11のステップ1095で設定さ
れたデータ参照照会の内容を表す名前である。データ入
出力フィールド1304は、図1の手順で操作者により
作成されたデータ入出力フィールドである。属性130
5は、帳票の属性で、図1のステップ1010で設定し
たデータ入出力フィールド情報を表す名前である。
(Embodiment 2) FIG. 12 shows a case where data is input to a data input / output field by an operator.
9 is a flowchart illustrating an embodiment of a processing procedure for assembling and executing a search condition expression using the data as a key. The form format creation screen 1301 in FIG. 13 shows a state where the items of the database table have been created as data input / output fields. The execute button 1302 is a button prepared in advance to activate a form created by the operator. The attribute 1303 is an attribute of the data input / output field, and is a name representing the content of the data reference inquiry set in step 1095 of FIG. The data input / output field 1304 is a data input / output field created by the operator according to the procedure shown in FIG. Attribute 130
Reference numeral 5 denotes a form attribute, which is a name representing the data input / output field information set in step 1010 of FIG.

【0019】図14の帳票実行画面1401は、操作者
により実行された帳票がディスプレイ201に表示され
た状態を表す。図12のフローチャートを参照して、検
索条件式を組み立て、実行する処理の詳細を説明する。
まず、操作者のマウス操作により、帳票フォーマット作
成画面1301上部の実行ボタン1302が押され、帳
票が起動される(ステップ1201)。次に、プログラ
ム205は、図1のステップ1010で設定した帳票の
属性からデータ入出力フィールド情報を取得し(ステッ
プ1202)、検索種別の値を調べる(ステップ120
3)。検索種別の値が“可変”の場合は、ステップ12
08に進む。検索種別の値が“可変”以外の場合は、検
索定義情報を作成し(ステップ1204)、検索式の組
み立てを行い(ステップ1205)、検索式を実行し
(ステップ1206)、検索したデータを該当するデー
タ入出力フィールドに出力し(ステップ1207)、起
動した帳票をディスプレイ201に表示する(ステップ
1208)。操作者により、図14の1401上のデー
タ入出力フィールド1402にデータが入力される(ス
テップ1209)。その時、プログラム205はデータ
入出力フィールドの属性から、図11のステップ109
5で設定したデータ参照照会名の存在を調べる(ステッ
プ1210)。データ参照照会名が存在する場合は、帳
票の属性から該当するデータ入出力フィールド情報を取
得し(ステップ1211)、検索定義情報を作成し(ス
テップ1212)、検索式の組み立てを行い(ステップ
1213)、検索式を実行し(ステップ1214)、検
索したデータを該当するデータ入出力フィールドに出力
する(ステップ1215)。データ入力したフィールド
の属性に存在するデータ参照照会名の数だけ、ステップ
1211からステップ1215が繰り返される。操作者
による帳票データの入力が終了されない場合には、ステ
ップ1209に戻り、操作者によるデータの入力が繰り
返される(図15)。
A form execution screen 1401 shown in FIG. 14 shows a state in which a form executed by the operator is displayed on the display 201. The details of the process of assembling and executing a search condition expression will be described with reference to the flowchart of FIG.
First, the execution button 1302 at the top of the form format creation screen 1301 is pressed by the mouse operation of the operator, and the form is activated (step 1201). Next, the program 205 acquires data input / output field information from the attribute of the form set in step 1010 of FIG. 1 (step 1202), and checks the value of the search type (step 120).
3). If the value of the search type is “variable”, step 12
Proceed to 08. If the value of the search type is other than “variable”, search definition information is created (step 1204), a search expression is assembled (step 1205), the search expression is executed (step 1206), and the searched data is The data is output to the data input / output field (step 1207), and the activated form is displayed on the display 201 (step 1208). The operator inputs data to the data input / output field 1402 on 1401 in FIG. 14 (step 1209). At that time, the program 205 determines from step 109 of FIG.
The existence of the data reference query name set in step 5 is checked (step 1210). If the data reference query name exists, the corresponding data input / output field information is acquired from the attribute of the form (step 1211), search definition information is created (step 1212), and a search formula is assembled (step 1213). Then, a search formula is executed (step 1214), and the searched data is output to the corresponding data input / output field (step 1215). Steps 1211 to 1215 are repeated by the number of data reference query names existing in the attribute of the field for which data has been input. If the input of the form data by the operator is not completed, the process returns to step 1209, and the input of the data by the operator is repeated (FIG. 15).

【0020】次に図16のフローチャートを参照して、
図12のステップ1204およびステップ1212の検
索定義情報を作成する処理について説明する。まず、プ
ログラム205は、データ入出力フィールド情報の“テ
ーブル名”からデータベーステーブル名を取得し、選択
データベーステーブル名として保持する(ステップ12
121)。“表示フラグ”の値を調べ、“表示”が設定
されていれば、“カラム名”から項目名を取得し、選択
データ項目名として保持する(ステップ12122)。
“検索種別”の値を取得する(ステップ12123)。
“検索種別”が“可変”に設定されている場合、“検索
条件”に設定されているデータ入出力フィールドのユニ
ークIDを取得する(ステップ12124)。“固定”
が設定されている場合、“検索条件”の値をそのまま取
得する(ステップ12125)。
Next, referring to the flowchart of FIG.
The process of creating the search definition information in steps 1204 and 1212 in FIG. 12 will be described. First, the program 205 acquires a database table name from the “table name” of the data input / output field information and holds it as the selected database table name (step 12).
121). The value of the “display flag” is checked, and if “display” is set, the item name is acquired from the “column name” and held as the selected data item name (step 12122).
The value of “search type” is acquired (step 12123).
When the “search type” is set to “variable”, the unique ID of the data input / output field set in the “search condition” is acquired (step 12124). “Fixed”
Is set, the value of “search condition” is obtained as it is (step 12125).

【0021】さらにステップ12122で取得した項目
名と、“比較演算子”の演算子と、ステップ12124
または12125で取得した値を 区切り記号“,”で
区切り、検索条件情報として保持しておく(ステップ1
2126)。ステップ12122からステップ1212
6を、データ入出力フィールド情報に存在するデータ項
目の数だけ繰り返す。
Further, the item name acquired in step 12122, the operator of "comparison operator", and step 12124
Alternatively, the value obtained in step 12125 is separated by a delimiter “,” and stored as search condition information (step 1).
2126). Step 12122 to Step 1212
6 is repeated by the number of data items existing in the data input / output field information.

【0022】図17は、図12のステップ1212で作
成した検索定義情報1701を表す図である。図17に
おいて1702には、図1のステップ108で操作者が
付与したデータ参照照会を表す名前を設定する。170
3にはステップ12121で取得したデータベーステー
ブルが設定されている。1704にはステップ1212
2で取得したデータ項目名が設定されている。1705
にはステップ12126で取得した検索条件情報が設定
されている。
FIG. 17 is a diagram showing the search definition information 1701 created in step 1212 of FIG. In FIG. 17, 1702 is set with a name representing the data reference inquiry given by the operator in step 108 of FIG. 170
3, the database table acquired in step 12121 is set. Step 112 is added to 1704.
The data item name acquired in step 2 is set. 1705
Is set with the search condition information acquired in step 12126.

【0023】図18のフローチャートを参照して、図1
2のステップ1213の検索式を組み立てる処理につい
て説明する。まず、図12のステップ1212で作成し
た検索定義情報から選択データベーステーブル名を取得
する(12131)。選択データ項目名を取得する(1
2132)。検索条件を取得する(ステップ1213
3)。前記検索条件からユニークIDを取得する(ステ
ップ12134)。ユニークIDからデータ入出力フィ
ールドを認識する(ステップ12135)。データ入出
力フィールドから入出力データを取得し(ステップ12
136)、検索式を組み立てる(12137)。ここで
組み立てられる検索式は、検索条件の区切り記号“,”
で区切られた2番目の比較式により変わる。
Referring to the flowchart of FIG.
The process of assembling a search formula in Step 1213 of Step 2 will be described. First, the selected database table name is acquired from the search definition information created in step 1212 of FIG. 12 (12131). Get selected data item name (1
2132). Acquire search conditions (step 1213)
3). A unique ID is obtained from the search condition (step 12134). The data input / output field is recognized from the unique ID (step 12135). The input / output data is obtained from the data input / output field (step 12).
136), a search formula is assembled (12137). The search expression assembled here is the search condition delimiter ","
Depends on the second comparison expression separated by.

【0024】図19にステップ12131から1213
7で組み立てた検索式の例を示す(1901)。比較式
に“=”が設定されている場合は、一致検索を意味し、
設定されるユニークIDは1つだけとなる(190
2)。“>=|<=”が設定されている場合は、範囲検
索を意味し、設定されるユニークIDは二つとなる(1
903)。“>=”または“<=”いずれだけの場合
は、ユニークIDは一つとなる(1904)。“IN”
または“!IN”が設定される場合は、複数の値のいず
れかと一致または複数の値のいずれとも不一致を意味
し、設定されるユニークIDは複数存在する。その場
合、ユニークIDは区切り記号“|”で区切られている
(1905)。
FIG. 19 shows steps 12131 to 1213.
An example of the search formula assembled in No. 7 is shown (1901). If “=” is set in the comparison expression, it means a match search,
Only one unique ID is set (190
2). If “> = | <=” is set, it means range search, and two unique IDs are set (1
903). If there is only “> =” or “<=”, there is one unique ID (1904). “IN”
Alternatively, if “! IN” is set, it means that the value matches one of the plurality of values or does not match any of the plurality of values, and there are a plurality of unique IDs to be set. In this case, the unique ID is separated by a delimiter “|” (1905).

【0025】以上のように本実施の形態によれば、任意
の帳票のデータ入出力フィールドに可変的なデータを入
力または出力することで、既存のデータベーステーブル
のデータを出力するための帳票を再作成することなく、
該当する検索式を実行し、前記の既存のデータベーステ
ーブルからデータを検索し、出力することが容易に行な
うことができる。
As described above, according to the present embodiment, by inputting or outputting variable data in the data input / output field of an arbitrary form, the form for outputting the data of the existing database table can be reproduced. Without creating
By executing the relevant search formula, it is possible to easily search and output data from the existing database table.

【0026】[0026]

【発明の効果】以上のように本発明によれば、データ入
出力フィールドに入出力したデータをキーにして、別帳
票のデータの検索を行う検索式の設定を、マウス操作で
簡単に行うことができ、複数の別帳票のデータを、一つ
の帳票上で容易に参照することができるという有利な効
果が得られる。
As described above, according to the present invention, it is possible to easily set a retrieval formula for retrieving data of another form by using the data input / output in the data input / output field as a key with a mouse operation. Therefore, there is an advantageous effect that data of a plurality of different forms can be easily referred to on one form.

【図面の簡単な説明】[Brief description of the drawings]

【図1】帳票作成方法の処理手順を示すフローチャートFIG. 1 is a flowchart showing a processing procedure of a form creation method.

【図2】本発明を実施する計算機装置のハードウェア構
成を示す図
FIG. 2 is a diagram illustrating a hardware configuration of a computer device that implements the present invention.

【図3】テーブル管理情報、フィールド管理情報の詳細
FIG. 3 is a detailed diagram of table management information and field management information.

【図4】帳票の一覧を表示した例を示す図FIG. 4 is a diagram showing an example in which a list of forms is displayed.

【図5】データ参照画面を示す図FIG. 5 shows a data reference screen.

【図6】データ入出力フィールド情報の詳細図FIG. 6 is a detailed diagram of data input / output field information.

【図7】検索式を設定する例を示す図FIG. 7 is a diagram showing an example of setting a search expression.

【図8】検索式の設定処理のフローチャートFIG. 8 is a flowchart of a search formula setting process.

【図9】検索式設定後のデータ入出力フィールド情報の
詳細図
FIG. 9 is a detailed view of data input / output field information after setting a search formula.

【図10】任意に選択されたデータ項目をデータ入出力
フィールドとして作成した例を示す図
FIG. 10 is a diagram showing an example in which an arbitrarily selected data item is created as a data input / output field;

【図11】データ入出力フィールド作成処理のフローチ
ャート
FIG. 11 is a flowchart of a data input / output field creation process.

【図12】データ入力による既存データベーステーブル
への検索処理のフローチャート
FIG. 12 is a flowchart of a process of searching an existing database table by inputting data.

【図13】既存データベーステーブルのデータ項目を入
出力フィールドとして作成した例を示す図
FIG. 13 is a diagram showing an example in which data items of an existing database table are created as input / output fields.

【図14】帳票を実行した状態の例を示す図FIG. 14 is a diagram showing an example of a state in which a form has been executed;

【図15】データ入力による検索を実行した状態の例を
示す図
FIG. 15 is a diagram showing an example of a state in which a search based on data input has been executed;

【図16】検索定義情報を作成する処理のフローチャー
FIG. 16 is a flowchart of processing for creating search definition information.

【図17】検索定義情報の詳細図FIG. 17 is a detailed diagram of search definition information.

【図18】検索式を組み立てる処理を示すフローチャー
FIG. 18 is a flowchart showing a process of assembling a search expression.

【図19】設定された検索条件から組み立てられる検索
式の例を示す図
FIG. 19 is a diagram showing an example of a search formula assembled from set search conditions.

【符号の説明】[Explanation of symbols]

201 ディスプレイ装置 202 キーボード入力装置 203 マウス入力装置 204 処理装置 205 格納プログラム 206 記憶装置 301 テーブル管理情報 302 フィールド管理情報 401 帳票一覧画面 501 データ参照照会画面 502 データベーステーブル名表示欄 503 データ項目名表示欄 504 表示ボタン 505 検索条件欄 506 検索条件入力パネル 507 検索条件確定ボタン 601 データ入出力フィールド情報 701 帳票フォーマット作成画面 702 データ入出力フィールド 1001 データ項目見出しフィールド 1002 データ入出力フィールド 1003 データ入出力フィールドの属性 1004 帳票の属性 1301 帳票フォーマット作成画面 1302 帳票実行ボタン 1303 データ入出力フィールドの属性 1304 データ入出力フィールド 1305 帳票の属性 1401 帳票実行画面 1402 データ入出力フィールド 1701 検索定義情報 1702 データ参照照会名格納部 1703 選択データベーステーブル名格納部 1704 選択データ項目名格納部 1705 入力検索条件格納部 1901 帳票実行画面 1902 一致検索式組立図 1903 範囲検索式組立図 1904 範囲(開始)検索式組立図 1905 IN検索式組立図 201 display device 202 keyboard input device 203 mouse input device 204 processing device 205 storage program 206 storage device 301 table management information 302 field management information 401 form list screen 501 data reference inquiry screen 502 database table name display field 503 data item name display field 504 Display button 505 Search condition column 506 Search condition input panel 507 Search condition determination button 601 Data input / output field information 701 Form format creation screen 702 Data input / output field 1001 Data item header field 1002 Data input / output field 1003 Data input / output field attribute 1004 Form attributes 1301 Form format creation screen 1302 Form execution button 1303 Data input / output fields Attribute 1304 Data input / output field 1305 Report attribute 1401 Report execution screen 1402 Data input / output field 1701 Search definition information 1702 Data reference query name storage 1703 Selected database table name storage 1704 Selected data item name storage 1705 Input search condition storage 1901 Form execution screen 1902 Match search formula assembly drawing 1903 Range search formula assembly diagram 1904 Range (start) search formula assembly diagram 1905 IN search formula assembly diagram

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B075 ND03 NK02 NK14 NK24 NK44 NK54 PP02 PP03 PP13 PP22 PP23 PQ02 PQ46 QM01 QM10 UU05  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B075 ND03 NK02 NK14 NK24 NK44 NK54 PP02 PP03 PP13 PP22 PP23 PQ02 PQ46 QM01 QM10 UU05

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 あらかじめ作成された第1のデータベー
ステーブルを選択するデータベーステーブル選択手段
と、前記データベーステーブル選択手段により選択され
た第1のデータベーステーブルを構成するデータ項目を
任意に選択するためのデータ項目選択手段と、帳票フォ
ーマット作成画面上にあらかじめ作成されたデータ入出
力フィールドへあらかじめ作成された第2のデータベー
ステーブルのデータまたは操作者により入力された任意
のデータをキーとする前記第1のデータベーステーブル
のデータを検索する検索条件を設定する検索条件設定手
段と、前記データ項目選択手段により選択されたデータ
項目と前記検索条件設定手段により設定された検索条件
を基にしてデータ入出力フィールド情報を作成するデー
タ入出力フィールド情報作成手段と、前記データ入出力
情報を基にして前記帳票レイアウト作成画面上にデータ
入出力フィールドを作成する手段と、前記データ入出力
フィールド情報を帳票の属性として記憶するデータ入出
力フィールド情報記憶手段とを備えたことを特徴とする
帳票作成処理システム。
1. A database table selecting means for selecting a first database table created in advance, and data for arbitrarily selecting data items constituting the first database table selected by the database table selecting means. An item selecting means, and the first database using data of a second database table previously created in a data input / output field previously created on a form format creation screen or arbitrary data input by an operator as a key Search condition setting means for setting a search condition for searching table data; and data input / output field information based on the data item selected by the data item selection means and the search condition set by the search condition setting means. Data input / output field information to be created Report creation means, means for creating a data input / output field on the form layout creation screen based on the data input / output information, and data input / output field information storage for storing the data input / output field information as a form attribute And a means for creating a form.
【請求項2】 データ入出力フィールド情報作成手段に
より作成されたデータ入出力フィールド情報に基づいて
検索定義情報を作成する検索定義情報作成手段と、前記
検索定義情報作成手段により作成された検索定義情報を
基に検索式を組み立てる検索式組み立て手段と、前記検
索式組み立て手段により組み立てられた検索式を実行す
る検索式実行手段と、検索式の実行結果を前記データ入
出力フィールドに表示するデータ表示手段とを備えたこ
とを特徴とする請求項1記載の帳票作成処理システム。
2. Search definition information creating means for creating search definition information based on data input / output field information created by data input / output field information creating means, and search definition information created by said search definition information creating means Search formula assembling means for assembling a search formula based on the search formula, search formula executing means for executing the search formula assembled by the search formula assembling means, and data display means for displaying the execution result of the search formula in the data input / output field 2. The form creation processing system according to claim 1, further comprising:
JP10167861A 1998-06-16 1998-06-16 Form preparation processing system Pending JP2000003401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10167861A JP2000003401A (en) 1998-06-16 1998-06-16 Form preparation processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10167861A JP2000003401A (en) 1998-06-16 1998-06-16 Form preparation processing system

Publications (1)

Publication Number Publication Date
JP2000003401A true JP2000003401A (en) 2000-01-07

Family

ID=15857454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10167861A Pending JP2000003401A (en) 1998-06-16 1998-06-16 Form preparation processing system

Country Status (1)

Country Link
JP (1) JP2000003401A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100720504B1 (en) * 2005-09-28 2007-05-22 동부일렉트로닉스 주식회사 method for manufacturing of CMOS image sensor
DE102008000195A1 (en) 2007-02-01 2008-09-04 Advics Co., Ltd., Kariya Device for controlling a vehicle movement

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100720504B1 (en) * 2005-09-28 2007-05-22 동부일렉트로닉스 주식회사 method for manufacturing of CMOS image sensor
DE102008000195A1 (en) 2007-02-01 2008-09-04 Advics Co., Ltd., Kariya Device for controlling a vehicle movement

Similar Documents

Publication Publication Date Title
JPH08221435A (en) Patent map generating method
JPH11250086A (en) Retrieval support system
JP2000003401A (en) Form preparation processing system
JPH07306862A (en) Information retrieving method
JP2993530B2 (en) Sentence generator
JPH0581326A (en) Data base retrieving device
JP2000172705A (en) Information retrieving device, information retrieving method and storage medium storing program for executing the method
JP4568320B2 (en) Processing procedure generation apparatus and processing procedure generation method
JP3536302B2 (en) Data management device and method, search device and method
JPH01239628A (en) Information retrieval system by key word
JP2000172710A (en) Information acquiring device and storage medium recording information acquiring program
KR0165510B1 (en) Table of database management system
JPH0520005A (en) Menu information generation device
JPH01244521A (en) Data manipulation system
JPH05135054A (en) Document processing method
JPH08314949A (en) Data management device
JPH09128278A (en) Data base update procedure generation device
JP2001195532A (en) Matrix preparing method and display method
JPH07105223A (en) Data base retrieval device
JP3252950B2 (en) Visual search method and apparatus
JPH0785104A (en) Document processor
JPH09128406A (en) Device and method for retrieving document
JPH08255165A (en) Method and device for database generating process
JPH05233713A (en) Learning type ambiguity retrieving method
JPH01304531A (en) Data base system