JPH04230576A - Method for retrieving record - Google Patents

Method for retrieving record

Info

Publication number
JPH04230576A
JPH04230576A JP2417470A JP41747090A JPH04230576A JP H04230576 A JPH04230576 A JP H04230576A JP 2417470 A JP2417470 A JP 2417470A JP 41747090 A JP41747090 A JP 41747090A JP H04230576 A JPH04230576 A JP H04230576A
Authority
JP
Japan
Prior art keywords
record
file
search
records
data
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
JP2417470A
Other languages
Japanese (ja)
Other versions
JP3052380B2 (en
Inventor
Hiroyoshi Onodera
弘悦 小野寺
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2417470A priority Critical patent/JP3052380B2/en
Publication of JPH04230576A publication Critical patent/JPH04230576A/en
Application granted granted Critical
Publication of JP3052380B2 publication Critical patent/JP3052380B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To extract the only required record from a retrieval objective file even when data which is not contained in the record of a retrieval objective file is specified as the retrieval objective. CONSTITUTION:A disk device 16 is provided with a merchandise stock management file containing data being 1:1 for each record of this file as well as a merchandise master file. When a code address (the name of merchandise) is turned to be a retrieval condition and the number of stocks an extraction condition, a record retrieval device 15 retrieves the merchandise master file based on the retrieval condition, and a record retrieval device 19 retrieves the merchandise stock management file based on this retrieval result and the extraction condition. As this result from among each record in the merchandise master file corresponding to the code address, the only record matched with the number of stocks are extracted from the merchandise master file.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、レコード検索条件が
指定された際に、検索対象のデータファイルから検索条
件に合致するレコードを検索するオフィスコンピュータ
等のレコード検索方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a record search method for an office computer, etc., which searches a data file to be searched for a record matching the search condition when a record search condition is specified.

【0002】0002

【従来の技術】従来、オフィスコンピュータ等の外部記
憶装置内には、商品売上ファイルや在庫ファイル等のデ
ータファイルが格納されており、キーボードから任意の
ファイルを指定してレコード検索条件を入力すると、検
索対象として指定されたデータファイルから検索条件に
合致するレコードが読み出される。例えば、商品売上フ
ァイルに対して「売上金額が1000円以上」や「売上
個数が10個以上」をレコード検索条件として指定する
と、複数フィールドから成るレコードのうち売上金額や
売上個数に対応するフィールドを検索し、検索条件に合
致するレコードのみが商品売上ファイルから読み出され
る。
2. Description of the Related Art Conventionally, data files such as product sales files and inventory files are stored in an external storage device such as an office computer, and when a desired file is specified using a keyboard and record search conditions are input, Records matching the search conditions are read from the data file specified as the search target. For example, if you specify "Sales amount is 1,000 yen or more" or "Sold quantity is 10 or more" as record search conditions for a product sales file, the fields corresponding to the sales amount and the number of sold items in a record consisting of multiple fields can be searched. A search is performed, and only records that match the search conditions are read from the product sales file.

【0003】0003

【発明が解決しようとする課題】しかしながら、検索条
件として指定できるのは、レコード内に検索対象フィー
ルドが含まれていることが前提であり、商品売上ファイ
ルを構成する各レコード内に在庫データが含まれていな
ければ、検索条件として「在庫」を指定したとしても所
望するレコードを検索することはできない。この様な場
合、従来においては、予め、システム設計されている商
品売上ファイルのレコード形態を変更し、各レコードに
在庫データ用のフィールドを追加するようにしているが
、レコード形態の変更は極めて困難であり、また、レコ
ード形態を変更すると、その処理プログラムも変更しな
ければならず、一層の困難を伴っていた。そこで、検索
対象ファイルのレコード内に含まれていないデータを検
索対象として指定したとしても、検索対象ファイルから
所望するレコードのみを抽出できれば、検索対象ファイ
ルのレコード形態等を変更する必要がなくなり、極めて
有効なものとなることは明らかである。この発明の課題
は、検索対象ファイルのレコード内に含まれていないデ
ータを検索対象として指定したとしても検索対象ファイ
ルから所望するレコードのみを抽出できるようにするこ
とである。
[Problem to be Solved by the Invention] However, the ability to specify search conditions is based on the premise that the search target field is included in the record, and inventory data is included in each record that makes up the product sales file. If not, it will not be possible to search for the desired record even if "inventory" is specified as a search condition. In such cases, conventionally, the record format of the product sales file that is designed in the system is changed in advance and a field for inventory data is added to each record, but changing the record format is extremely difficult. Furthermore, if the record format is changed, the processing program must also be changed, which is even more difficult. Therefore, even if data that is not included in the records of the search target file is specified as the search target, if only the desired records can be extracted from the search target file, there is no need to change the record format of the search target file, which is extremely It is clear that it will be effective. An object of the present invention is to enable only desired records to be extracted from the search target file even if data not included in the records of the search target file is specified as the search target.

【0004】0004

【課題を解決するための手段およびその作用】この発明
の手段および作用は次の通りである。 レコード検索条件が指定された際に検索対象のデータフ
ァイルから検索条件に合致するレコードを検索するレコ
ード検索装置において、このレコード検索装置には、デ
ータファイルの他、このデータファイルの各レコードに
対応して少なくともそれに関連するデータが含まれて成
る関連ファイルが備えられている。例えば、商品マスタ
ーファイルに対する関連ファイルとしては、商品在庫管
理ファイル等である。いま、データファイルとして商品
マスターファイル、関連ファイルとして商品在庫管理フ
ァイルを有し、レコード検索条件の他にレコード抽出条
件が指定されたものとする(図1のステップA)。なお
、レコード抽出条件とはレコード検索条件の一態様であ
るが、レコード検索条件はデータファイルに対する概念
、レコード抽出条件は関連ファイルに対する概念で、両
者を区別する為に、関連ファイルに対するレコード検索
条件をレコード抽出条件と呼ぶものとする。このように
、レコード検索条件の他にレコード抽出条件が指定され
ると、先ず、レコード検索条件に基づいて商品マスター
ファイルを検索する(図1のステップB)。いま、商品
名の略号を検索条件として入力すると、商品マスターフ
ァイルからは略号に該当するレコード群が検索される。 次に、この検索結果とレコード抽出条件に基づいて商品
在庫管理ファイルを検索する(図1のステップC)。こ
の場合、商品在庫管理ファイルに対して商品マスターフ
ァイルの検索結果(略号に該当する対象商品)で検索す
る。この際、対象商品の在庫数が「1」以上のレコード
のみを抽出すべきことをレコード抽出条件とすると、レ
コード検索条件(略号)に合致する商品マスターファイ
ル内の各レコードのうち、レコード抽出条件(在庫数「
1」以上)に合致する在庫管理ファイル内のデータ(在
庫データ)に対応するレコードのみが商品マスターファ
イルから抽出される。したがって、検索対象ファイルの
レコード内に含まれていないデータを検索対象として指
定したとしても検索対象ファイルから所望するレコード
のみを抽出することができる。
[Means for Solving the Problems and Their Effects] The means and effects of the present invention are as follows. In a record search device that searches for records that match the search conditions from a data file to be searched when a record search condition is specified, this record search device includes, in addition to the data file, information that corresponds to each record in this data file. An associated file comprising at least data related thereto is provided. For example, a file related to the product master file is a product inventory management file. Now, it is assumed that the data file is a product master file, the related file is a product inventory management file, and record extraction conditions are specified in addition to record search conditions (step A in FIG. 1). Note that record extraction conditions are a form of record search conditions, but record search conditions are a concept for data files, and record extraction conditions are a concept for related files.To distinguish between the two, record search conditions for related files are These are called record extraction conditions. In this way, when record extraction conditions are specified in addition to record search conditions, first, the product master file is searched based on the record search conditions (step B in FIG. 1). Now, if you enter the abbreviation of a product name as a search condition, the product master file will be searched for records that correspond to the abbreviation. Next, the product inventory management file is searched based on this search result and the record extraction conditions (step C in FIG. 1). In this case, the product inventory management file is searched using the product master file search results (target products corresponding to the abbreviations). At this time, if the record extraction condition is to extract only records in which the stock quantity of the target product is "1" or more, then among the records in the product master file that match the record search condition (abbreviation), the record extraction condition (Number of stock
Only the records corresponding to the data (inventory data) in the inventory management file that match ``1'' or higher) are extracted from the product master file. Therefore, even if data that is not included in the records of the search target file is specified as the search target, only the desired records can be extracted from the search target file.

【0005】[0005]

【実施例】以下、図2〜図5を参照して一実施例を説明
する。 図2はレコード検索装置のブロック構成図である。なお
、本実施例においては、商品名等の比較的冗長な固有名
詞を入力する場合、入力の簡素化を図る為、略号により
入力可能としたもので、キーボード11から検索対象の
略号を入力すると、入力された略号データはCPU12
に取り込まれたのち、表示制御装置13を介してCRT
表示装置14から表示出力されると共に、レコード検索
装置15に渡される。
[Embodiment] An embodiment will be described below with reference to FIGS. 2 to 5. FIG. 2 is a block diagram of the record search device. In this embodiment, when entering a relatively redundant proper noun such as a product name, in order to simplify the input process, it is possible to enter an abbreviation. , the input abbreviation data is sent to the CPU 12
After being captured in the CRT via the display control device 13,
The data is displayed and output from the display device 14 and is also passed to the record search device 15 .

【0006】レコード検索装置15はディスク装置16
内の検索対象ファイルから略号に該当するレコードを1
画面分読み込み、1レコードずつ条件判断装置17に渡
す。条件判断装置17は定義表メモリ18を参照し、レ
コード検索装置15からのレコードが予めシステム設計
時等において、定義表メモリ18内に任意に設定した検
索条件に一致するか否かを判断する。ここで、検索条件
として他のファイルを参照すべきことが指定されている
場合には、レコード索引装置19に索引要求を出し、索
引結果をレコード索引装置19から受け取り、評価する
。この結果、条件判断装置17はレコード検索装置15
からのレコードが条件に一致するものであれば、該当レ
コードをレコード用バッファ20に転送するが、不一致
を検出した場合にはレコード検索装置15に次のレコー
ドを要求する。
[0006] The record search device 15 is a disk device 16.
1 record corresponding to the abbreviation from the search target file in
The screen is read and each record is passed to the condition determination device 17. The condition determination device 17 refers to the definition table memory 18 and determines whether the record from the record search device 15 matches a search condition arbitrarily set in the definition table memory 18 at the time of system design or the like. Here, if the search condition specifies that another file should be referred to, an index request is issued to the record index device 19, and the index results are received from the record index device 19 and evaluated. As a result, the condition determination device 17
If the record matches the conditions, the corresponding record is transferred to the record buffer 20, but if a mismatch is detected, the next record is requested from the record search device 15.

【0007】レコード制御装置21はレコード用バッフ
ァ20内に1画面分のレコードが転送された場合あるい
はディスク装置16からEOF(エンドオブファイル)
情報が読み出された場合、条件判断装置17からの情報
を受けてレコード用バッファ20の内容をCPU12を
介して表示制御装置13に与え、CRT表示装置14か
ら表示出力させる。この場合、定義表メモリ18内に予
め設定されている表示フォーマットにしたがってレコー
ド用バッファ20内のデータが表示出力される。また、
レコード制御装置21はCPU12を介して選択装置2
2を起動させる。
The record control device 21 receives an EOF (end of file) when one screen worth of records is transferred into the record buffer 20 or from the disk device 16.
When the information is read out, the contents of the record buffer 20 are given to the display control device 13 via the CPU 12 in response to the information from the condition determination device 17, and the contents are displayed on the CRT display device 14. In this case, the data in the record buffer 20 is displayed and output according to the display format preset in the definition table memory 18. Also,
The record control device 21 controls the selection device 2 via the CPU 12.
Start 2.

【0008】選択装置22はキーボード11上の確定キ
ー、次頁キー、前頁キーの操作に応じた処理を行うもの
で、CRT画面上に候補表示されている1画面分のレコ
ード群のうち任意のレコードにカーソルが合わせられて
確定キーが操作されると、当該レコードを確定レコード
として選択し、この選択情報をCPU12を介して取り
込み装置23に与える。このような確定レコードの選択
時において、次頁キーが操作されると、CRT画面には
次の頁内容(1画面分のレコード群)が切り替え表示さ
れ、また、前頁キーが操作されると、前頁の内容(1画
面分のレコード群)が切り替え表示される。
The selection device 22 performs processing in accordance with the operation of the enter key, next page key, and previous page key on the keyboard 11, and selects any one of the record groups for one screen displayed as candidates on the CRT screen. When the cursor is placed on a record and the confirmation key is operated, the record is selected as a confirmation record, and this selection information is provided to the importing device 23 via the CPU 12. When selecting such a confirmed record, if the next page key is operated, the contents of the next page (a group of records for one screen) will be switched and displayed on the CRT screen, and if the previous page key is operated. , the contents of the previous page (a group of records for one screen) are switched and displayed.

【0009】取り込み装置23は選択装置22からの選
択情報に基づいてレコード用バッファ20から取り込む
べき確定レコード内のデータ(例えば、商品名)をCP
U12を介してレコード制御装置21に要求すると共に
、これに応答してレコード用バッファ20から取り出さ
れたデータを受け取ると、CPU12を介して表示制御
装置13に与え、CRT表示装置14から表示出力させ
る。
The importing device 23 converts data (for example, product name) in the confirmed record to be imported from the record buffer 20 into a CP based on the selection information from the selection device 22.
A request is made to the record control device 21 via U12, and when the data taken out from the record buffer 20 is received in response, it is sent to the display control device 13 via the CPU 12, and the data is displayed and output from the CRT display device 14. .

【0010】図3は定義表メモリ18に設定されている
A表(入力定義表)、W表(ウィンドウ定義表)の具体
例を示している。即ち、A表はレコード項目(商品名)
に対応して略号によって入力すべきことを示す「IW」
、ウィンドウ定義表の表番号「1」、商品マスターファ
イルにおいて略号を入力すると商品名が取り込まれるこ
とを示し「商品MT(略号、商品名)」を定義する。ま
た、W表は表番号「1」に対応してウィンドウ画面の挿
入位置、ウィンドウ画面を構成する為の表枠、キャラク
タ等を定義する他に、レコードの抽出条件を定義する。 この場合のレコード抽出条件は、商品在庫管理ファイル
に対して商品マスタファイルのコード値よりレコード検
索を行い、対象の商品在庫数が「1」以上のレコードの
みを抽出すべきことを定義している。
FIG. 3 shows a concrete example of the A table (input definition table) and the W table (window definition table) set in the definition table memory 18. In other words, table A is the record item (product name)
"IW" indicates that the abbreviation should be entered in response to
, table number "1" of the window definition table, indicating that the product name will be imported when an abbreviation is input in the product master file, and defines "product MT (abbreviation, product name)". Further, the W table defines the inserting position of the window screen, the table frame for configuring the window screen, characters, etc. corresponding to the table number "1", and also defines the record extraction conditions. In this case, the record extraction condition defines that a record search should be performed in the product inventory management file based on the code value of the product master file, and only records with the target product inventory quantity of "1" or more should be extracted. .

【0011】次に、本実施例の動作を説明する。 いま、ディスク装置16内の商品マスターファイルおよ
び商品在庫管理ファイルは図4に示す如く構成されてい
るものとする。即ち、商品マスターファイルを構成する
各レコードはコード、略号、商品名から成る。この場合
、略号は商品名に対するもので、商品名の先頭部分を略
号としている。なお、各レコードはレコードスタートコ
ード“(”によって区切られ、またレコード内の各フィ
ールドはワードエンドコードによって区切られている。 また、商品在庫管理ファイルを構成する各レコードは商
品マスターファイル内の各レコードに1:1に対応する
もので、商品マスターファイルと同様のコードの他、在
庫数から成り、そして、各レコードはレコードスタート
コードで区切られ、また、レコード内の各フィールドは
ワードエンドコードによって区切られている。
Next, the operation of this embodiment will be explained. It is now assumed that the product master file and product inventory management file in the disk device 16 are configured as shown in FIG. That is, each record constituting the product master file consists of a code, an abbreviation, and a product name. In this case, the abbreviation is for the product name, and the first part of the product name is the abbreviation. Each record is separated by a record start code “(”, and each field within a record is separated by a word end code. Also, each record that makes up the product inventory management file is separated by each record in the product master file. It corresponds 1:1 to the product master file, and consists of the same codes as the product master file as well as the inventory quantity. Each record is separated by a record start code, and each field within a record is separated by a word end code. It is being

【0012】ここで、商品マスターファイルを検索する
場合、定義表メモリ18内のA表に示す如く、略号(商
品名)を入力すべきことが定義されているので、図5に
示すファイル検索処理を開始させて略号をキーボード1
1から入力すると、略号入力処理が実行され(ステップ
S1)、入力された略号データはCPU12に取り込ま
れたのち、レコード検索装置15に渡される。すると、
レコード検索装置15はディスク装置16内の商品マス
ターファイルを略号に基づいて検索し、商品マスターフ
ァイルから該当するレコードを1画面分(本実施例にお
いては6レコード分)読み込み、その中から先ず、1レ
コードを条件判断装置17に渡す(ステップS2)。こ
の場合、条件判断装置17はEOF情報でないことを条
件に(ステップS3)、抽出条件処理を実行する(ステ
ップS4)。
When searching the product master file, it is defined that an abbreviation (product name) should be entered as shown in table A in the definition table memory 18, so the file search process shown in FIG. Start the abbreviation on the keyboard 1
1, the abbreviation input process is executed (step S1), and the input abbreviation data is taken into the CPU 12 and then passed to the record search device 15. Then,
The record search device 15 searches the product master file in the disk device 16 based on the abbreviations, reads one screen worth of corresponding records (six records in this embodiment) from the product master file, and first selects one of the records from the product master file. The record is passed to the condition determination device 17 (step S2). In this case, the condition determination device 17 executes extraction condition processing (step S4) on the condition that the information is not EOF information (step S3).

【0013】この場合、抽出条件としてA表の表番号「
1」で示されるW表内には商品在庫管理ファイルに対し
て商品マスターファイルのコード値(レコード検索装置
15から渡されたレコード内のコード値)によりレコー
ド検索を行い、対象の商品在庫数が「1」以上のレコー
ドのみを抽出すべきことが定義されているので、条件判
断装置17はこのレコード抽出条件に一致するレコード
か否かを判断する(ステップS5)。この結果、条件に
一致しなければこのレコードを検出対象から外す為にス
テップS2に戻り、、次のレコードをレコード検索装置
15に要求するが、条件に一致すれば、このレコードを
レコード用バッファ20に転送する(ステップS6)。 そして、レコード用バッファ20内に1画面分のレコー
ドが書き込まれたかを調べ(ステップS7)、1画面分
のレコードがレコード用バッファ20に書き込まれるま
であるいはEOF情報が検出されるまで上述の動作を1
レコードずつ繰り返す。
[0013] In this case, the table number of table A is used as an extraction condition.
In the W table indicated by ``1'', a record search is performed on the product inventory management file using the code value of the product master file (code value in the record passed from the record search device 15), and the number of the target product in stock is determined. Since it is defined that only records of "1" or more should be extracted, the condition determining device 17 determines whether the record matches this record extraction condition (step S5). As a result, if the conditions are not met, the process returns to step S2 to remove this record from the detection target, and a request is made to the record search device 15 for the next record. (Step S6). Then, it is checked whether one screen worth of records has been written into the record buffer 20 (step S7), and the above-mentioned operation is performed until one screen worth of records is written into the record buffer 20 or until EOF information is detected. 1
Repeat record by record.

【0014】しかして、レコード用バッファ20内に1
画面分のレコードが書き込まれた場合あるいはEOF情
報が検出された場合、レコード制御装置21はレコード
用バッファ20の内容をCPU12を介して表示制御装
置13に与え、CRT表示装置14から表示出力させる
が、この場合、定義表メモリ18内のW表に定義されて
いるウィンドウフォーマットにしたがってレコード用バ
ッファ20内のデータを表示出力させる(ステップS8
)。図4のWDはこの場合のウィンドウ表示例を示し、
ウィンドウ画面WD内には商品名在庫数から成る6つの
レコードが表示され、また最初は先頭レコード位置にカ
ーソル表示される(図中斜線を付して示す)。
[0014] Therefore, there is 1 in the record buffer 20.
When a screen worth of records has been written or when EOF information is detected, the record control device 21 provides the contents of the record buffer 20 to the display control device 13 via the CPU 12, and causes the CRT display device 14 to output the contents for display. In this case, the data in the record buffer 20 is displayed and output according to the window format defined in the W table in the definition table memory 18 (step S8
). WD in FIG. 4 shows an example of the window display in this case,
Six records consisting of product names and inventory quantities are displayed within the window screen WD, and a cursor is initially displayed at the first record position (indicated by diagonal lines in the figure).

【0015】この状態において、任意のレコードを選択
する為に、カーソルを所望するレコード位置にセットし
、確定キーを操作すると(ステップS10)、選択装置
22は当該レコードを確定レコードとして選択し、この
選択情報をCPU12を介して取り込み装置23に与え
る。一方、次頁キーが操作されると(ステップS11で
YES)、選択装置22はウィンドウ画面内の各レコー
ドを消去する(ステップS12)。この場合、ウィンド
ウ画面(表枠等)やレコード用バッファ20の内容を保
持したままウィンドウ画面内のレコードのみを消去する
。そして、ステップS2に戻り、次の1画面分のレコー
ドがレコード用バッファ20に書き込まれるまで、ある
いはEOF情報が検出されるまで上述のステップS2〜
S7が繰り返される。これによって、ウィンドウ画面に
は次の頁内容が表示される(ステップS8)。また、前
頁キーが操作されると(ステップS11でNO)、上述
の次頁キーの操作と同様にウィンドウ画面内の各レコー
ドを消去する(ステップS13)。そして、レコード用
バッファ20から前頁に屬する1画面分のレコード群っ
を読み出してウィンドウ画面内に表示出力させる(ステ
ップS14)。その後、ステップS3に戻る。
[0015] In this state, in order to select an arbitrary record, when the cursor is set at the desired record position and the confirmation key is operated (step S10), the selection device 22 selects the record as a confirmation record and selects this record. The selection information is provided to the capture device 23 via the CPU 12. On the other hand, when the next page key is operated (YES in step S11), the selection device 22 erases each record in the window screen (step S12). In this case, only the records within the window screen are erased while the contents of the window screen (table frame, etc.) and the record buffer 20 are retained. Then, the process returns to step S2, and the steps from step S2 to
S7 is repeated. As a result, the contents of the next page are displayed on the window screen (step S8). Further, when the previous page key is operated (NO in step S11), each record in the window screen is erased (step S13) in the same way as the above-mentioned next page key operation. Then, one screen worth of records included in the previous page is read out from the record buffer 20 and displayed on the window screen (step S14). After that, the process returns to step S3.

【0016】しかして、確定キーが操作された場合、取
り込み装置23は確定レコード内の出力対象データ(A
表に定義されている商品名)をレコード用バッファ20
からレコード制御装置21を介して受け取ると(ステッ
プS15)、これをCPU12を介して表示制御装置1
3に与え、CRT表示装置14から表示出力させる(ス
テップS16)。図4のITはこの場合の表示例を示し
、売上伝票の商品名の欄に表示される。そして、ステッ
プS17に進み、ウィンドウ画面およびレコード用バッ
ファ20の内容を全て消去し、終了する。
[0016] When the confirmation key is operated, the importing device 23 retrieves the output target data (A
Buffer 20 for recording (product name defined in the table)
When received from the record control device 21 (step S15), it is sent to the display control device 1 via the CPU 12.
3 and output the display from the CRT display device 14 (step S16). IT in FIG. 4 shows a display example in this case, and is displayed in the product name column of the sales slip. Then, the process proceeds to step S17, where the window screen and the contents of the record buffer 20 are all erased, and the process ends.

【0017】なお、上記実施例は商品マスターファイル
に対して商品在庫管理ファイルを参照してレコード抽出
条件に合致するレコードのみを商品マスターファイルか
ら抽出するようにしたが、その他のファイルを参照して
レコード抽出条件に合致するレコードを抽出するように
してもよい。この場合、商品マスターファイルのうち不
要なレコードを不要ファイルに格納しておき、この不要
ファイルを参照して必要レコードのみを商品マスターフ
ァイルから抽出するようにしておけば、商品マスターフ
ァイルから不要レコードを削除する必要がなく、極めて
便利なものとなる。
[0017] In the above embodiment, only records that match the record extraction conditions are extracted from the product master file by referring to the product inventory management file, but it is not possible to refer to other files. Records that match record extraction conditions may be extracted. In this case, if you store unnecessary records in the product master file in an unnecessary file and refer to this unnecessary file to extract only the necessary records from the product master file, you can remove unnecessary records from the product master file. There is no need to delete it, making it extremely convenient.

【0018】[0018]

【発明の効果】この発明によれば、検索対象ファイルの
レコード内に含まれていないデータを検索対象として指
定したとしても検索対象ファイルから所望するレコード
のみを抽出することができるので、検索対象ファイルの
レコード形態や処理プログラムを変更する必要がなくな
り、極めて有効なものとなる。特に、略号入力によって
該当レコードを検索した場合、該当レコードが多くても
、その中から所望するレコードのみを選択する際にその
選択作業を効率よく行うことができる。
According to the present invention, even if data not included in the records of the search target file are specified as the search target, only desired records can be extracted from the search target file. This eliminates the need to change the record format or processing program, making it extremely effective. In particular, when a corresponding record is searched by inputting an abbreviation, even if there are many corresponding records, only desired records can be selected efficiently.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】この発明の処理過程を示すフローチャート。FIG. 1 is a flowchart showing the processing steps of the present invention.

【図2】この発明の一実施例を示したレコード検索装置
のブロック構成図。
FIG. 2 is a block configuration diagram of a record search device showing an embodiment of the present invention.

【図3】図2に示す定義表メモリ18に設定されている
A表、W表の内容を示した図。
FIG. 3 is a diagram showing the contents of an A table and a W table set in the definition table memory 18 shown in FIG. 2;

【図4】上記実施例のファイル構成および表示例を示し
た図。
FIG. 4 is a diagram showing a file structure and display example of the above embodiment.

【図5】上記実施例の動作を示したフローチャート。FIG. 5 is a flowchart showing the operation of the above embodiment.

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

11  キーボード 12  CPU 15  レコード検索装置 16  ディスク装置 17  条件判断装置 18  定義表メモリ 19  レコード索引装置 11 Keyboard 12 CPU 15 Record search device 16 Disk device 17 Condition judgment device 18 Definition table memory 19 Record index device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】レコード検索条件が指定された際に、検索
対象のデータファイルから検索条件に合致するレコード
を検索するレコード検索装置において、前記データファ
イル内の各レコードに対応して少なくともそれに関連す
るデータが含まれて成る関連ファイルを備え、前記レコ
ード検索条件の他にレコード抽出条件が指定された際に
は、レコード検索条件に基づいて前記データファイルを
検索したのち、この検索結果およびレコード抽出条件に
基づいて前記関連ファイルを検索することにより、レコ
ード検索条件に合致する前記データファイル内の各レコ
ードのうち、レコード抽出条件に合致する前記関連ファ
イル内のデータに対応するレコードのみを前記データフ
ァイルから抽出するようにしたことを特徴とするレコー
ド検索方法。
Claims: 1. A record search device that searches a data file to be searched for a record that matches the search condition when a record search condition is specified; When a related file containing data is provided and record extraction conditions are specified in addition to the record search conditions, the data file is searched based on the record search conditions, and then the search results and the record extraction conditions are specified. By searching the related files based on, among the records in the data file that match the record search conditions, only the records that correspond to the data in the related files that match the record extraction conditions are extracted from the data file. A record search method characterized by extracting records.
JP2417470A 1990-12-31 1990-12-31 Item selection device Expired - Lifetime JP3052380B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2417470A JP3052380B2 (en) 1990-12-31 1990-12-31 Item selection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2417470A JP3052380B2 (en) 1990-12-31 1990-12-31 Item selection device

Publications (2)

Publication Number Publication Date
JPH04230576A true JPH04230576A (en) 1992-08-19
JP3052380B2 JP3052380B2 (en) 2000-06-12

Family

ID=18525567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2417470A Expired - Lifetime JP3052380B2 (en) 1990-12-31 1990-12-31 Item selection device

Country Status (1)

Country Link
JP (1) JP3052380B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101570294B1 (en) * 2014-06-23 2015-11-18 김용선 Vehicle cover for preventing denting

Also Published As

Publication number Publication date
JP3052380B2 (en) 2000-06-12

Similar Documents

Publication Publication Date Title
JPH0765035A (en) Structured document retrieving device
JPH1153381A (en) Device and method for retrieving similar document
JPH04230576A (en) Method for retrieving record
JPH0561758A (en) Information link device
JPH04340163A (en) Keyword retrieval system
JPH06195386A (en) Data retriever
JP3005380B2 (en) Slip transaction data input device and input method
JP3245873B2 (en) File processing device
JP2848313B2 (en) Hardware configuration automatic creation device
JP2739589B2 (en) Information retrieval device
JPH0514304B2 (en)
JP2604787B2 (en) Two-dimensional data storage method
JP2888458B2 (en) File storage device
JP2609680B2 (en) Data registration device
JP2601139B2 (en) String search device
JPH04297956A (en) Multimedium retrieval and processing system
JPH04559A (en) Data retrieving system
JPH07230469A (en) Retrieval device
JPH04250568A (en) Record retrieval device
JPH05225016A (en) Computer use support system
JPH0219971A (en) Data base processing system
JPH05165891A (en) Data registration/retrieval system of data base
JPH0431959A (en) Document take-out system
JPH08263509A (en) Software utilization device
JPH04232542A (en) Data base retrieval system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 11