JPH0561894A - Tabulator - Google Patents
TabulatorInfo
- Publication number
- JPH0561894A JPH0561894A JP3253182A JP25318291A JPH0561894A JP H0561894 A JPH0561894 A JP H0561894A JP 3253182 A JP3253182 A JP 3253182A JP 25318291 A JP25318291 A JP 25318291A JP H0561894 A JPH0561894 A JP H0561894A
- Authority
- JP
- Japan
- Prior art keywords
- data
- replacement
- condition
- field
- item
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
(57)【要約】
【目的】 データに基づいて表を作成する際にオペレー
タによる編集作業を不要にすることができ、作表処理を
効率的に行うことができる作表装置を提供する。
【構成】 作表装置10は、項目データを置換データに
置換する際の置換条件及びその置換データをワークメモ
リ14に記憶し、データファイル16から読み出した項
目データが置換条件に適合するか否かを判別して置換条
件に適合すると判別された場合に読み出された項目デー
タを置換データに置換する。
(57) [Summary] [Purpose] To provide a tabulation device that can eliminate the need for editing work by an operator when creating a table based on data and efficiently perform tabulation processing. [Structure] The tabulation device 10 stores a replacement condition for replacing item data with replacement data and the replacement data in the work memory 14, and whether the item data read from the data file 16 conforms to the replacement condition. And the item data read when it is determined that the replacement condition is satisfied is replaced with the replacement data.
Description
【0001】[0001]
【産業上の利用分野】本発明は、作表装置に係り、詳細
には項目データを基に表を作成する作表装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tabulation device, and more particularly to a tabulation device for creating a table based on item data.
【0002】[0002]
【従来の技術】従来の作表装置としてスプレッドシート
形の作表装置がある。この作表装置は、作表計算機能を
中心にしたタイプであり、作表機能として項目から項目
への複写や項目の削除、入換えなど多くの命令をもって
いる。計算については、数値計算から財務計算までの幅
広い関数を備えている。また、カード式データベース形
の作表装置は1画面を一つのカードと考え、このカード
単位でデータを管理する機能を中心にしたタイプであ
る。機能としては、カード単位のデータの条件検索やソ
ートの面で強力である。2. Description of the Related Art As a conventional tabulation device, there is a spreadsheet type tabulation device. This tabulation device is of a type centered on a tabulation calculation function, and has many commands as a tabulation function such as copying from item to item, deleting and replacing items. For calculation, it has a wide range of functions from numerical calculation to financial calculation. Further, the card type database type tabulation device is a type that mainly considers one screen as one card and manages data on a card-by-card basis. As a function, it is powerful in terms of conditional search and sorting of data in card units.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、このよ
うな従来の作表装置にあっては、データファイルから表
を作成する際に、表の項目(フィールド)データに対す
る計算や条件検索等しか行わない構成となっていたた
め、条件検索はできても項目データを別の表現形式で表
示することはではない。例えば、後述する図4に示すよ
うにデータファイルのあるフィールド(例えば、英語)
について得点に応じて「優」「良」「可」「不可」をつ
けようとしてもかかる機能はないのでオペレータがエデ
ィタ等を使用して各フィールド内のデータを直す必要が
あった。この場合、作成しようとする表の項目が少なけ
れば手作業で行ってもそれ程の手間はかからないが、項
目数が増え、各項目の条件がより複雑になると多大の時
間を要することになる。また、データや条件に変更が生
じた場合には逐一再編集しなければならないという欠点
がある。してみれば、データを置き換えるべき条件を記
憶しておき、この条件に応じてデータを置換していくよ
うにすれば、編集処理が不要になることは明らかであ
る。本発明の課題は、置換条件に応じてデータの置換が
できるようにすることである。However, in such a conventional tabulation device, when a table is created from a data file, only calculation or condition search for the item (field) data of the table is performed. Since it is configured, the item data is not displayed in a different expression format although the condition search can be performed. For example, a field in a data file as shown in FIG. 4 described later (for example, English)
There is no such function even when trying to add “excellent”, “good”, “acceptable”, or “impossible” according to the score, so the operator had to use an editor or the like to correct the data in each field. In this case, if the number of items in the table to be created is small, it does not take much time even if it is done manually, but if the number of items increases and the conditions of each item become more complicated, it will take a lot of time. In addition, there is a drawback that when data or conditions are changed, they must be reedited one by one. Then, it is obvious that if the condition for replacing the data is stored and the data is replaced according to the condition, the editing process becomes unnecessary. An object of the present invention is to enable data replacement according to replacement conditions.
【0004】[0004]
【課題を解決するための手段】本発明の手段は次の通り
である。項目データ読出手段1(図1の機能ブロック図
を参照、以下同じ)は、例えば表のレコードデータを格
納したデータファイルからレコード単位で表の項目デー
タを読み出すものである。置換条件記憶手段2は、項目
データを置換データに置換する際の置換条件及びその置
換データを記憶するRAM等である。判別手段3は項目
データ読出手段1により読み出された項目データが置換
条件記憶手段2に記憶された置換条件に適合するか否か
を判別するもので、例えばCPUにより判別される。置
換手段4は、判別手段3により置換条件に適合すると判
別された場合に読み出された項目データを置換データに
置換するもので、例えばCPUにより実行され、作表さ
れた置換データ及び項目データはCRT等の表示装置や
プリンタ等の印字装置に出力される。The means of the present invention are as follows. The item data reading means 1 (see the functional block diagram of FIG. 1, the same applies hereinafter) reads out the item data of the table in record units from a data file storing the record data of the table, for example. The replacement condition storage means 2 is a RAM or the like that stores replacement conditions for replacing item data with replacement data and the replacement data. The discriminating means 3 discriminates whether or not the item data read by the item data reading means 1 conforms to the replacement condition stored in the replacement condition storage means 2, and is judged by, for example, a CPU. The replacing means 4 replaces the item data read out when the judging means 3 judges that the replacing condition is satisfied, with the replacing data and the item data tabulated and executed by the CPU, for example. It is output to a display device such as a CRT or a printing device such as a printer.
【0005】[0005]
【作用】本発明の手段の作用は次の通りである。先ず、
置換条件記憶手段2には各項目に対応する置換条件及び
遅延処理により置換される置換データが記憶されてい
る。この状態において、項目データ読出手段1により表
の項目データが読み出されると、判別手段3によって読
み出された項目データが置換条件記憶手段1に記憶され
た置換条件に適合しているかが判別され、置換条件に適
合すると判別された場合には置換手段4により読み出さ
れた項目データが置換データに置換される。従って、表
エディタ等を用いて表内の各項目のデータを編集する手
間がなくなり、効率よく表を作成することができる。The operation of the means of the present invention is as follows. First,
The replacement condition storage means 2 stores the replacement condition corresponding to each item and the replacement data replaced by the delay process. In this state, when the item data of the table is read by the item data reading means 1, it is judged whether the item data read by the judging means 3 conforms to the replacement condition stored in the replacement condition storing means 1, When it is determined that the replacement condition is satisfied, the item data read by the replacement unit 4 is replaced with the replacement data. Therefore, it is not necessary to edit the data of each item in the table using a table editor or the like, and the table can be efficiently created.
【0006】[0006]
【実施例】以下、図2〜図4を参照して実施例を説明す
る。図2〜図4は作表装置の一実施例を示す図である。
先ず、構成を説明する。図2は作表装置10のブロック
図である。この図において、11は装置全体の制御、並
びに後述するデータ置換処理を含む各種のデータ処理を
行うCPUであり、CPU11は後述するプログラムR
AM13に格納されているマイクロプログラムに従って
作表装置の各種の動作を制御する。CPU11には、各
種データ入力のためのキー及び機能キー等を備えたキー
ボードからなる入力装置12、入力制御、ファイル制
御、データ処理制御等の処理手順をプログラム及び固定
データの形で格納するプログラムRAM13、演算に使
用する置換データや置換条件、演算処理中のデータを一
時的に格納するワークメモリ14、入力装置12からキ
ー入力された文字コードが一時的に格納される入力バッ
ファ15、事務用のデータをレコード単位に記憶するデ
ータファイル16、入力データ、編集されたデータ等を
表示する表示装置17、作表結果を印刷出力する印刷装
置18がそれぞれ接続されている。EXAMPLES Examples will be described below with reference to FIGS. 2 to 4 are views showing an embodiment of the tabulation device.
First, the configuration will be described. FIG. 2 is a block diagram of the tabulation device 10. In this figure, 11 is a CPU that controls the entire apparatus and performs various data processes including a data replacement process described later, and the CPU 11 is a program R described later.
Various operations of the tabulation device are controlled according to a microprogram stored in the AM 13. The CPU 11 includes an input device 12 including a keyboard having various data input keys and function keys, a program RAM 13 for storing processing procedures such as input control, file control, data processing control in the form of a program and fixed data. Work data 14 for temporarily storing replacement data and replacement conditions used for calculation, data being processed, input buffer 15 for temporarily storing character codes keyed from input device 12, A data file 16 for storing data in record units, a display device 17 for displaying input data, edited data, etc., and a printing device 18 for printing out a tabulation result are connected.
【0007】また、上記プログラムRAM13、ワーク
メモリ14及び入力バッファ15は、例えば、RAMの
記憶領域を分割して使用される。入力装置12は、英数
字、平仮名等を入力するキーや、カーソル移動キー、実
行キー、中止キー等のファンクションキーが配置された
操作盤であり、操作盤上のいずれかのキーが操作された
場合、図示しない制御部によってそのキーに対応する所
定のキーコードに変換され、CPU11に出力される。The program RAM 13, the work memory 14, and the input buffer 15 are used, for example, by dividing a RAM storage area. The input device 12 is an operation panel on which keys for inputting alphanumeric characters, hiragana, etc., and function keys such as a cursor movement key, an execution key, and a stop key are arranged, and any key on the operation panel is operated. In this case, a control unit (not shown) converts the key code into a predetermined key code corresponding to the key and outputs it to the CPU 11.
【0008】次に、本実施例の動作を説明する。図3は
データ置換処理を示すフローチャートであり、本フロー
処理はデータをレコード単位で読出して置換処理する。
同図中、符号Sn(n=1,2,…)はフローの各ステ
ップを示している。Next, the operation of this embodiment will be described. FIG. 3 is a flowchart showing the data replacement process. In this flow process, data is read in record units and replaced.
In the figure, reference numeral Sn (n = 1, 2, ...) Shows each step of the flow.
【0009】プログラムがスタートすると、先ず、ステ
ップS1で事務用データファイル16から事務処理デー
タを1レコード読出し、ステップS2で読出したレコー
ドのフィールドiを1にする(i=1)。ここで、この
処理は1レコード毎の処理となっており、1レコードは
複数のフィールド(項目)から構成される。例えば、図
4に示す事務処理データ21は、1レコードが「氏
名」、「英語」、「数学」の3つのフィールドからな
る。そして、1番目のフィールド(「氏名」)から順に
各フィールドiに対する置換条件をチェックしていく。When the program is started, first, one record of office work data is read from the office work data file 16 in step S1, and the field i of the record read in step S2 is set to 1 (i = 1). Here, this processing is processing for each record, and one record is composed of a plurality of fields (items). For example, in the paperwork data 21 shown in FIG. 4, one record consists of three fields of "name", "English", and "mathematical". Then, the replacement condition for each field i is checked in order from the first field (“name”).
【0010】ステップS3ではフィールドiに対する置
換条件がセットされているか否かを判別する。この置換
条件は、読出したフィールドデータがある条件となった
ときにそのデータを置換データに置換えるための条件で
あり各フィールドに対して設定可能である。本実施例で
は、図4に示すように「英語」のフィールドに置換条件
22を設定している。上記置換条件22は「英語」のフ
ィールドのデータが80以上のとき「優」に、70以上
のとき「良」に、60以上のとき「可」に、59以下の
とき「不可」に置換する置換条件である。なお、この置
換条件は一例であり、置換の条件や置換データは任意の
ものが設定可能であることは言うまでもなく、他のフィ
ールド(例えば、数学)にも同様の置換条件が設定でき
ることは勿論である。In step S3, it is determined whether or not the replacement condition for the field i is set. The replacement condition is a condition for replacing the read field data with replacement data when the field data has a certain condition, and can be set for each field. In this embodiment, the replacement condition 22 is set in the "English" field as shown in FIG. The replacement condition 22 is replaced with "excellent" when the data in the field of "English" is 80 or more, "good" when it is 70 or more, "good" when it is 60 or more, and "not good" when it is 59 or less. It is a replacement condition. It should be noted that this replacement condition is an example, and it goes without saying that the replacement condition and the replacement data can be set arbitrarily, and it goes without saying that similar replacement conditions can be set in other fields (for example, mathematics). is there.
【0011】フィールドiに対する置換条件が設定され
ていないとき(例えば、1番目の「氏名」のフィールド
の場合)にはステップS6でそのフィールドiの内容
(上述の例では氏名「AAA」)をそのまま出力し、フ
ィールドiに対する置換条件が設定されているときはス
テップS4でそのフィールドiのデータが置換条件に適
合しているか否かをチェックしてステップS5で該当す
るフィールドデータを置換条件で指定された置換データ
に置換する。また、読出したフィールドデータが置換条
件のどれにも適合しないときは置換することなくステッ
プS6に進む。例えば、1番目のレコードの「英語」の
フィールドを処理する場合であればこのフィールドデー
タは「90」であり、かつこの「英語」のフィールドに
は図4に示すような置換条件22が設定されているから
上記フィールドデータ「90」を、80以上の置換条件
である「優」に置換する。When the replacement condition for the field i is not set (for example, in the case of the first "name" field), the contents of the field i (name "AAA" in the above example) are left unchanged in step S6. If the replacement condition for the field i is output, it is checked in step S4 whether or not the data in the field i conforms to the replacement condition, and in step S5 the corresponding field data is designated by the replacement condition. Replace with replacement data. If the read field data does not match any of the replacement conditions, the process proceeds to step S6 without replacement. For example, when processing the "English" field of the first record, this field data is "90", and the replacement condition 22 as shown in FIG. 4 is set in this "English" field. Therefore, the field data “90” is replaced with “excellent” which is a replacement condition of 80 or more.
【0012】ステップS6では上記フィールドデータ及
びデータ置換された置換データを図4に示すような表出
力23として出力する。この表出力23は、例えば表示
装置17の表示画面上に出力されるものであってもよ
く、印刷装置18により印刷するものでもよい。次い
で、ステップS7で最終フィールドか否かを判別し、例
えば図4に示すような「英語」のフィールドのときは最
終フィールドではないからこの場合はステップS8でフ
ィールドiに1を加算するインクリメントを行って次の
フィールドを指定してステップS3に戻る。また、図4
の「数学」のフィールドのような最終フィールドのとき
はステップS9で全レコードの処理が終了したか否かを
判別し、全レコードが終了していなければステップS1
に戻って全レコードの処理が終了するまで上記処理を繰
返す。上記処理を実行することにより図4に示す表出力
23が作成される。In step S6, the field data and the replacement data obtained by the data replacement are output as a table output 23 as shown in FIG. The table output 23 may be output on the display screen of the display device 17, or may be printed by the printing device 18. Next, in step S7, it is determined whether or not it is the final field. For example, when the field is "English" as shown in FIG. 4, it is not the final field. In this case, therefore, increment is performed to add 1 to the field i in step S8. Specify the next field and return to step S3. Also, FIG.
If it is the last field such as the "mathematical" field, it is determined in step S9 whether all the records have been processed. If all the records have not been processed, step S1
Then, the above process is repeated until all records are processed. By executing the above processing, the table output 23 shown in FIG. 4 is created.
【0013】以上説明したように、本実施例の作表装置
10は、項目データを置換データに置換する際の置換条
件及びその置換データをワークメモリ14に記憶し、デ
ータファイル16から読み出した項目データが置換条件
に適合するか否かを判別して置換条件に適合すると判別
された場合に読み出された項目データを前記置換データ
に置換するようにしているので、図4の「英語」のフィ
ールドのデータが得点に応じて自動的に「優」「良」
「可」「不可」に置換されて表出力23されることにな
り、オペレータがエディタ等を使用して各フィールド内
のデータを直す必要はなくなる。特に、項目数が増え、
各項目の条件がより複雑になった場合に作業効率を格段
に向上させることができる。As described above, the tabulation device 10 of this embodiment stores the replacement conditions for replacing item data with replacement data and the replacement data in the work memory 14, and reads the items from the data file 16. Since it is determined whether or not the data conforms to the replacement condition, and the item data read when it is determined that the replacement condition is satisfied, the replacement data is replaced with the replacement data. The field data is automatically “Excellent” or “Good” according to the score.
The table output 23 will be made by replacing "possible" and "impossible", and the operator does not need to use an editor or the like to modify the data in each field. In particular, the number of items has increased
When the conditions of each item become more complicated, the work efficiency can be significantly improved.
【0014】また、事務処理用データから表を作成する
スペックを保存するようにしておけば、データ更新時の
作表処理がよりスムーズにすることができる。Further, if the specification for creating a table from the data for office processing is stored, the tabulation process when updating the data can be made smoother.
【0015】なお、本実施例では置換データを「優」
「良」「可」等の文字データとしているが、項目データ
を所定のデータに置換するものであれば何でもよく、例
えば項目データの数値を丸めた(あるいは、四捨五入し
て)数値データに置換えるものでもよい。In this embodiment, the replacement data is "excellent".
Character data such as “good” and “OK” is used, but any data that replaces item data with predetermined data, such as rounding (or rounding off) the numerical value of item data, can be replaced with numerical data. It may be one.
【0016】また、本実施例で示した項目数や行数、デ
ータの種類等は上記実施例のものに限定されないことは
言うまでもない。Needless to say, the number of items, the number of lines, the type of data and the like shown in this embodiment are not limited to those in the above embodiment.
【0017】[0017]
【発明の効果】本発明によれば、置換条件に従って項目
データを置換データに置換するようにしているので、項
目データに基づいて表を作成する際にオペレータによる
編集作業を不要にすることができ、作表処理を効率的に
行うことができる。According to the present invention, the item data is replaced with the replacement data in accordance with the replacement condition. Therefore, when the table is created based on the item data, the editing work by the operator can be eliminated. , The tabulation process can be performed efficiently.
【図1】本発明の機能ブロック図である。FIG. 1 is a functional block diagram of the present invention.
【図2】作表装置のブロック構成図である。FIG. 2 is a block configuration diagram of a tabulation device.
【図3】作表装置のデータ置換処理を示すフローチャー
トである。FIG. 3 is a flowchart showing a data replacement process of the tabulation device.
【図4】作表装置の作表処理を説明するための図であ
る。FIG. 4 is a diagram for explaining a tabulation process of a tabulation device.
10 作表装置 11 CPU 12 入力装置 13 プログラムRAM 14 ワークメモリ 15 入力バッファ 16 データファイル 17 表示装置 18 印刷装置 21 事務処理データ 22 置換条件 23 表出力 10 Tabulation device 11 CPU 12 Input device 13 Program RAM 14 Work memory 15 Input buffer 16 Data file 17 Display device 18 Printing device 21 Office work data 22 Substitution condition 23 Table output
Claims (1)
出手段と、 前記項目データを置換データに置換する際の置換条件及
びその置換データを記憶する置換条件記憶手段と、 前記項目データ読出手段により読み出された項目データ
が前記置換条件記憶手段に記憶された置換条件に適合す
るか否かを判別する判別手段と、 前記判別手段により置換条件に適合すると判別された場
合に読み出された項目データを前記置換データに置換す
る置換手段と、 を具備したことを特徴とする作表装置。1. An item data reading means for reading item data in a table, a replacement condition for replacing the item data with replacement data and a replacement condition storage means for storing the replacement data, and the item data reading means for reading. Discriminating means for discriminating whether the issued item data conforms to the substitution condition stored in the substitution condition storage means, and item data read out when the discrimination means discriminates that the substitution condition matches. And a replacement unit that replaces the replacement data with the replacement data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3253182A JPH0561894A (en) | 1991-09-03 | 1991-09-03 | Tabulator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3253182A JPH0561894A (en) | 1991-09-03 | 1991-09-03 | Tabulator |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0561894A true JPH0561894A (en) | 1993-03-12 |
Family
ID=17247687
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3253182A Pending JPH0561894A (en) | 1991-09-03 | 1991-09-03 | Tabulator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0561894A (en) |
-
1991
- 1991-09-03 JP JP3253182A patent/JPH0561894A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5878198A (en) | Information processing apparatus and method and memory medium storing information processing program | |
| JPH0363771B2 (en) | ||
| JP3489365B2 (en) | Table data processing device | |
| JPH0561894A (en) | Tabulator | |
| US5185854A (en) | Document processing apparatus having a ruled line print control function | |
| US5481663A (en) | Word processors for performing an automatic layout process | |
| JP3029822B2 (en) | Document processing apparatus, document processing method, and computer-readable recording medium recording program for causing computer to execute the method | |
| JPH08202856A (en) | Image processing method | |
| JP2821002B2 (en) | Character processing device and character processing method | |
| JPH0281267A (en) | Method of screen generation | |
| JPH11203279A (en) | Kana-kanji conversion device, kana-kanji conversion method, and storage medium | |
| JP2761606B2 (en) | Document data processing device | |
| JPH0425931A (en) | data output device | |
| JPH0362170A (en) | Comment input method in cad system | |
| WO1993015458A1 (en) | Information processing apparatus and method therefor | |
| JP2899103B2 (en) | Information processing apparatus and method | |
| JPH07129554A (en) | Document processor | |
| JPH0836563A (en) | Document edition system and device for preparing document using the same | |
| JPH06180698A (en) | Document processor | |
| JPH02297279A (en) | Document processor with next registration code display function | |
| JPH06187341A (en) | Document processor | |
| JPH06259297A (en) | Data entry device | |
| JPH0520319A (en) | Display controller | |
| JPH05135040A (en) | Word processor | |
| JPH0567089A (en) | Document creation device |