JPH04222053A - Table calculater device - Google Patents

Table calculater device

Info

Publication number
JPH04222053A
JPH04222053A JP2405450A JP40545090A JPH04222053A JP H04222053 A JPH04222053 A JP H04222053A JP 2405450 A JP2405450 A JP 2405450A JP 40545090 A JP40545090 A JP 40545090A JP H04222053 A JPH04222053 A JP H04222053A
Authority
JP
Japan
Prior art keywords
data
square
row
column
child
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
JP2405450A
Other languages
Japanese (ja)
Inventor
Tetsuya Yamashita
哲也 山下
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2405450A priority Critical patent/JPH04222053A/en
Publication of JPH04222053A publication Critical patent/JPH04222053A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To systematically execute table calculation from a master table to a slave table or from the slave table to the master table by managing plural tables by specific hierarchical structure. CONSTITUTION:A hierarchical management means sets up a pointer A pointing out the 1st table 21 to be the master table as the management data of the 2nd table 22 to be the slave table. In addition, the hierarchical management means allocates a pointer B pointing out the slave table 22 to one measure of the master table 21. Thereby the master table 21 can be accessed based upon the pointer A to be the management data of the slave table 22. On the other hand, the slave table 22 can be accessed based upon the pointer B to be the data allocated to one measure of the master table 21. Thereby the slave table belongs to the master table 21 and data can be edited while mutually relating the data of respective measures of the master tables 21 to the data of respective measures of the slave table 22.

Description

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

【0001】0001

【産業上の利用分野】本発明は複数のます目を有する表
を表示し、この表の各ます目に入力されたデータに基づ
いて表計算を行う表計算装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spreadsheet device that displays a table having a plurality of squares and performs spreadsheet calculations based on data input to each square of the table.

【0002】0002

【従来の技術】近年において、各種業務を対話形式で遂
行する対話形データシステムが広く使用されている。こ
の対話形データシステムはパーソナルコンピュータ、ワ
ークステーション等を利用して構成され、データを記憶
するとともに必要な処理を行う中央処理装置、処理結果
を表示画面に表示する表示装置、データ処理に必要なデ
ータや命令等を入力するキーボードおよびマウス(ポイ
ンティング入力装置)、必要に応じてデータのハードコ
ピーを出力する印字装置、データを保存する外部記憶装
置等を備える。このような対話形データシステムにおい
てはキーボードあるいはマウスによって必要な指示を行
うと、この指示に対する応答が表示装置画面の表示に直
ちに反映され、この応答に対して新たな指示を次々に繰
返して行うことにより、利用者が求めようとしている処
理結果が得られる。
2. Description of the Related Art In recent years, interactive data systems have been widely used to perform various tasks in an interactive manner. This interactive data system is configured using personal computers, workstations, etc., and includes a central processing unit that stores data and performs necessary processing, a display device that displays processing results on a display screen, and a display device that displays data necessary for data processing. It is equipped with a keyboard and mouse (pointing input device) for inputting information and commands, a printing device for outputting hard copies of data as needed, an external storage device for storing data, etc. In such an interactive data system, when a necessary instruction is given using the keyboard or mouse, the response to this instruction is immediately reflected on the display screen, and new instructions are repeatedly issued in response to this response. As a result, the processing result that the user is looking for can be obtained.

【0003】ところで、この対話形データシステムとし
ては、表示装置画面に複数個のます目を行方向と列方向
に表示し、各ます目内にデータを入力すると、予め設定
した計算ルールに従って表計算を行う表計算機能を備え
たものがある。
By the way, this interactive data system displays a plurality of squares in rows and columns on the display screen, and when data is input into each square, a spreadsheet is calculated according to preset calculation rules. There are some that have a spreadsheet function that allows you to do this.

【0004】第6図は表計算処理に用いられる表の一例
を示すもので、行番号「1」〜「5」と列番号「1」〜
「4」とで区切られた20個のます目60からなる表6
1を表示装置画面に表示し、各ます目内に文字や数値等
の表計算処理に必要なデータを利用者に入力させるもの
である。すなわち、第6図の例のように売上げ金額を求
める表計算処理では、品名とその単価および個数を利用
者に入力させる。すると、予め設定しておいた計算ルー
ル(売上金額=単価×個数)によって各品名別の売上げ
金額が自動的に算出され、売上げ金額欄に表示される。
FIG. 6 shows an example of a table used for spreadsheet processing, with row numbers "1" to "5" and column numbers "1" to "5".
Table 6 consisting of 20 squares 60 separated by "4"
1 is displayed on the screen of the display device, and the user is prompted to input data necessary for spreadsheet processing, such as characters and numbers, into each square. That is, in the spreadsheet process for determining the sales amount as in the example shown in FIG. 6, the user is required to input the product name, its unit price, and the number of products. Then, the sales amount for each product name is automatically calculated according to a preset calculation rule (sales amount = unit price x number of items) and displayed in the sales amount column.

【0005】この場合、各品名の単価あるいは個数を変
更すると、表計算が最新のデータを用いて再度実行され
、表計算の基礎となるデータと計算結果が常に整合する
ように構成されている。
[0005] In this case, when the unit price or quantity of each product name is changed, the spreadsheet is re-executed using the latest data, so that the data on which the spreadsheet is based and the calculation results always match.

【0006】さらに、表61の下方の表示画面には、マ
ウスによって現在選択しているます目の位置62、現在
選択しているます目のデータ63、および現在選択して
いるます目の計算ルール64を表示する部分と、ます目
の行方向と列方向の幅や属性を変更するためのコマンド
、あるいはます目の複写、移動、消去を行うためのコマ
ンド、さらに各ます目内のデータまたは計算ルールを変
更するためのコマンドを入力するコマンド入力部65が
設けられ、必要なコマンドの選択やデータおよび計算ル
ールの入力を行うことができる。ここで、例えば4列2
行のます目が選択されているとすると、ます目の位置6
2として4列2行を示す“4@2”が表示されるととも
に、ます目のデータ63として“6,200,000”
が表示される。また、このときに「ルール」のコマンド
を選択して実行すると、計算ルール64として(2列2
行のます目のデータ)×(3列2行のます目のデータ)
という計算式を示す“2@2*3@2”が表示される。
Furthermore, on the display screen below the table 61, the position 62 of the square currently selected by the mouse, the data 63 of the currently selected square, and the calculation rule for the currently selected square are displayed. 64, commands for changing the row and column widths and attributes of the squares, commands for copying, moving, and deleting the squares, and data or calculations within each square. A command input section 65 for inputting commands for changing rules is provided, and it is possible to select necessary commands and input data and calculation rules. Here, for example, 4 columns 2
Assuming that a square in a row is selected, square position 6
"4@2" indicating 4 columns and 2 rows is displayed as 2, and "6,200,000" is displayed as data 63 of the square.
is displayed. Also, if you select and execute the "Rule" command at this time, the calculation rule 64 (2 columns 2
Data for the square in the row) × (data for the square in the 3rd column and 2nd row)
The calculation formula "2@2*3@2" is displayed.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
表計算装置では複数の表を相互関係を持たせて利用する
場合、これらの表を同位のものとして管理しており、上
位の表と下位の表というような縦の管理構造を明確にし
ていなかったので、このため関連する各表を編集するに
際しては縦の管理構造を認識しつつ編集することが困難
であった。
[Problem to be Solved by the Invention] However, in conventional spreadsheet devices, when using multiple tables in a mutual relationship, these tables are managed as being at the same level, and the upper table and lower table are Because the vertical management structure such as tables was not clearly defined, it was difficult to edit related tables while being aware of the vertical management structure.

【0008】そこで、本発明は階層構造に基づく相互関
係を複数の表に持たせた表計算装置を提供することを目
的とする。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a spreadsheet device in which a plurality of tables have mutual relationships based on a hierarchical structure.

【0009】[0009]

【課題を解決するための手段】本発明では所定の階層構
造に基づく相互関係を複数の表に持たせるために、前記
所定の階層構造を子の表が親の表のます目に属するとい
うことにより形成している。
[Means for Solving the Problems] In the present invention, in order to have a plurality of tables have mutual relationships based on a predetermined hierarchical structure, the predetermined hierarchical structure is such that a child table belongs to a square of a parent table. It is formed by

【0010】0010

【作用】本発明によれば、親の表のます目には子の表を
割当てることができ、更に子の表を親と見なした場合は
該表のます目に他の子の表を割当てることができるので
、複数の表を階層構造をもって管理することが可能とな
る。
[Operation] According to the present invention, a child table can be assigned to a square of a parent table, and furthermore, when a child table is regarded as a parent, another child table can be assigned to a square of the parent table. Since it is possible to allocate tables, it is possible to manage multiple tables in a hierarchical structure.

【0011】[0011]

【実施例】以下、本発明の実施例を添付図面を参照して
詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

【0012】第1図は本発明に係わる表計算装置の一実
施例を示す機能ブロック図である。同図において、選択
手段1は表、表のます目等を選択して指定するためのも
のである。
FIG. 1 is a functional block diagram showing an embodiment of a spreadsheet device according to the present invention. In the figure, selection means 1 is for selecting and specifying tables, squares, etc. of tables.

【0013】生成手段2は表を生成するためのものであ
り、ここで表の列数および行数等が指定される。
The generating means 2 is for generating a table, and the number of columns and rows of the table are specified here.

【0014】編集手段3は表のます目にデータを割当て
るためのものであり、ここでデータとしての文字、数値
、計算ルール等が指定される。
The editing means 3 is for allocating data to the squares of the table, and here characters, numerical values, calculation rules, etc. as data are specified.

【0015】複写手段4は表のます目に割当てられたデ
ータを他のます目に複写するためのものであり、ここで
複写元および複写先の両者のます目が指定される。これ
により、複写元および複写先の両者のます目には同一の
データが割当てられる。
The copying means 4 is for copying data assigned to a square in a table to another square, and here both the source and destination squares are designated. As a result, the same data is assigned to both the copy source and copy destination squares.

【0016】移動手段5は表のます目に割当てられたデ
ータを他のます目に移動するためのものであり、ここで
移動元および移動先の両者のます目が指定される。これ
により、移動元のます目のデータが消去されるとともに
移動先のます目に該データが割当てられる。
The moving means 5 is for moving the data assigned to a square in the table to another square, and both the source and destination squares are designated here. As a result, the data in the source square is erased and the data is assigned to the destination square.

【0017】領域変更手段6は表の列の幅および行の幅
を変更するためのものであり、ここで列の幅および行の
幅が指定される。これにより、表のます目の大きさが変
更される。
The area changing means 6 is for changing the column width and row width of the table, and the column width and row width are specified here. This changes the size of the squares in the table.

【0018】消去手段7は表を消去したり、表のます目
に割当てられたデータを消去して初期化するためのもの
であり、ここで消去すべき表および消去すべきデータを
割当てられたます目が指定される。
The erasing means 7 is for erasing the table and erasing and initializing the data assigned to the squares of the table. A square is specified.

【0019】これらの選択手段1、生成手段2、編集手
段3、複写手段4、移動手段5、領域変更手段6および
消去手段7によって指定されたそれぞれの内容は管理手
段8に反映され、これに応答して管理手段8は表示手段
9の表示画面上に表を形成したり消去し、あるいは該表
を記憶手段10に記憶する。
The respective contents specified by these selection means 1, generation means 2, editing means 3, copying means 4, moving means 5, area changing means 6 and erasing means 7 are reflected in the management means 8, and are In response, the management means 8 creates or erases a table on the display screen of the display means 9, or stores the table in the storage means 10.

【0020】また、この実施例では表のます目に属する
子表を設定することができ、このとき該ます目を有する
表は該子表に対する親表となる。管理手段8には階層管
理手段8−1が設けられており、この階層管理手段8−
1によって前記親表と前記子表の関係が維持される。
Further, in this embodiment, a child table belonging to a square of a table can be set, and in this case, the table having the corresponding square becomes a parent table for the child table. The management means 8 is provided with a hierarchy management means 8-1, and this hierarchy management means 8-
1 maintains the relationship between the parent table and the child table.

【0021】ここで、第2図に示すように第1の表21
および第2の表22が設定されているとし、第1の表2
1が親表であり、第2の表22が子表であるとすると、
階層管理手段8−1は親表である第1の表21を指示す
るポインタAを第2の表22の管理データとして設定す
る。また、階層管理手段8−1は子表である第2の表2
2を指示するポインタBを第1の表21の1つのます目
にデータとして割当てる。
Here, as shown in FIG. 2, the first table 21
and second table 22 are set, and first table 2
1 is the parent table and the second table 22 is the child table.
The hierarchy management means 8-1 sets a pointer A pointing to the first table 21, which is the parent table, as management data for the second table 22. In addition, the hierarchy management means 8-1 is a child table, which is a second table 2.
A pointer B pointing to 2 is assigned to one square of the first table 21 as data.

【0022】したがって、第2の表22の管理データで
あるポインタAに基づいて第1の表21、つまり親表を
アクセスすることができ、また第1の表21の1つのま
す目に割当てられたデータとしてのポインタBに基づい
て第2の表、つまり子表をアクセスすることができる。
Therefore, the first table 21, that is, the parent table, can be accessed based on pointer A, which is the management data of the second table 22, and the pointer A that is assigned to one square of the first table 21 can be accessed. The second table, that is, the child table, can be accessed based on pointer B as the data.

【0023】第3図は第1図に示した実施例の表計算装
置のハード構成を示しており、中央処理装置31、キー
ボード32、マウス33および表示装置34を備えて構
成される。ここで、中央処理装置31における制御部3
1−1、キーボード32およびマウス33は第1図に示
した選択手段1、生成手段2、編集手段3、複写手段4
、移動手段5、領域変更手段6および消去手段7のそれ
ぞれの機能を実現する。また、中央処理装置31におけ
る制御部31−1は第1図に示した管理手段8の機能を
実現する。さらに、中央処理装置31における記憶部3
2−2は第1図に示した記憶手段10の機能を実現する
。また、中央処理装置31における制御部31−1およ
び表示装置34は第1図に示した表示手段9の機能を実
現する。
FIG. 3 shows the hardware configuration of the spreadsheet device of the embodiment shown in FIG. 1, which includes a central processing unit 31, a keyboard 32, a mouse 33, and a display device 34. Here, the control unit 3 in the central processing unit 31
1-1, the keyboard 32 and the mouse 33 are the selection means 1, the generation means 2, the editing means 3, and the copying means 4 shown in FIG.
, the moving means 5, the area changing means 6, and the erasing means 7. Further, the control section 31-1 in the central processing unit 31 realizes the functions of the management means 8 shown in FIG. Furthermore, the storage unit 3 in the central processing unit 31
2-2 realizes the function of the storage means 10 shown in FIG. Further, the control section 31-1 and the display device 34 in the central processing unit 31 realize the function of the display means 9 shown in FIG.

【0024】さて、このような構成の表計算装置におけ
る動作を第4図および第5図に従って更に詳しく述べる
Now, the operation of the spreadsheet device having such a configuration will be described in more detail with reference to FIGS. 4 and 5.

【0025】まず、表示手段9の表示画面には第4図(
a)に示すような表41が表示されているとする。この
表41において、1列1行のます目には値10が、2列
1行のます目には値30が、1列2行のます目には値2
0がデータとしてそれぞれ割当てられており、また2列
2行のます目にはデータが割当てられていない。
First, on the display screen of the display means 9, the screen shown in FIG.
Assume that a table 41 as shown in a) is displayed. In this table 41, the square in column 1, row 1 has the value 10, the square in column 2, row 1 has the value 30, and the square in column 1, row 2 has the value 2.
0 is assigned as data, and no data is assigned to the squares in the second column and second row.

【0026】ここで、マウス33を操作することにより
表示画面上のカーソル(図示せず)を表41における2
列2行のます目の位置に移動し、さらにマウス33に付
設されているボタン(図示せず)を押下することにより
2列2行のます目を指定すると、これに応答して選択手
段1は表41における2列2行のます目を第4図(b)
に示すように太枠で表示する。
Here, by operating the mouse 33, the cursor (not shown) on the display screen is moved to 2 in Table 41.
When the user moves to the square in column 2, row 2 and further presses a button (not shown) attached to the mouse 33 to specify the square in column 2, row 2, selection means 1 Figure 4(b) shows the squares in the second column and second row of Table 41.
Displayed in a thick frame as shown in .

【0027】この後、マウス33を操作することにより
表示画面上でカーソルを移動して、予め表示されている
コマンドメニュー(図示せず)から“create n
ew table”と称するコマンドを指定すると、選
択手段1から管理手段8へと該コマンドが通知され、管
理手段8における階層管理手段8−1は表41における
2列2行のます目を子表が割当てられるます目として設
定するとともに、表41を該子表に対する親表として設
定する。
[0027] Thereafter, by operating the mouse 33, the cursor is moved on the display screen, and "create n" is selected from the command menu (not shown) displayed in advance.
When a command called "ew table" is specified, the selection means 1 notifies the management means 8 of the command, and the hierarchy management means 8-1 in the management means 8 selects the child table from the square in the second column and second row of table 41. It is set as the square to be allocated, and table 41 is set as the parent table for the child table.

【0028】こうして親表41における2列2行のます
目を子表が割当てられるます目として設定すると、引続
く操作により該ます目内に子表を作成することができる
。この子表の作成は通常の表と同様の手順で行われる。 すなわち、キーボード32およびマウス33を操作する
ことにより生成手段2を起動し、子表の列数および行数
を指定すると、生成手段2は第4図(c)に示すように
親表41の2列2行のます目内に子表42を表示する。 ここでは子表42を2列2行の表として形成している。
[0028] When the square in the second row and second row of the parent table 41 is set as the square to which the child table is allocated, the child table can be created in the corresponding square by subsequent operations. This child table is created using the same procedure as for a normal table. That is, when the generation means 2 is activated by operating the keyboard 32 and the mouse 33 and the number of columns and rows of the child table is specified, the generation means 2 generates the second part of the parent table 41 as shown in FIG. 4(c). The child table 42 is displayed in a square in column 2 and row 2. Here, the child table 42 is formed as a table with two columns and two rows.

【0029】こうして作成された子表42に対する編集
は通常の表と同様の手順で行うことができる。例えば、
マウス33を操作することにより表示画面上でカーソル
を移動して、子表42における1列1行のます目を指定
すると、選択手段1は該ます目を第4図(d)に示すよ
うに太枠で表示する。この後、マウス33を操作するこ
とにより表示画面上でカーソルを移動して、予め表示さ
れているコマンドメニューから編集を示すコマンドを指
示すると編集手段3が起動され、さらにキーボード32
を操作することにより値“3”を入力すると、編集手段
3は該値“3”を第5図(a)に示すように子表42に
おける1列1行のます目に割当てる。
The child table 42 created in this way can be edited using the same procedure as for a normal table. for example,
When the mouse 33 is operated to move the cursor on the display screen to specify a square in the first column and first row in the child table 42, the selection means 1 selects the corresponding square as shown in FIG. 4(d). Display with a thick frame. Thereafter, when the cursor is moved on the display screen by operating the mouse 33 and a command indicating editing is specified from the command menu displayed in advance, the editing means 3 is activated, and then the keyboard 32
When the value "3" is input by operating , the editing means 3 assigns the value "3" to the square of the first column and the first row of the child table 42 as shown in FIG. 5(a).

【0030】引続き、マウス33を操作することにより
子表42における2列1行のます目を指定し、さらにキ
ーボード32を操作することにより計算ルール“{1@
1}+5”を入力すると、編集手段3は該計算ルール“
{1@1}+5”を子表42における2列1行のます目
に割当てる。
Subsequently, by operating the mouse 33, the square of the second column and first row in the child table 42 is designated, and by further operating the keyboard 32, the calculation rule "{1@
1}+5", the editing means 3 inputs the corresponding calculation rule "
{1@1}+5'' is assigned to the square of the second column and first row of the child table 42.

【0031】この計算ルール“{1@1}+5”は子表
42における1列1行のます目のデータに値“5”を加
算することを示しており、ここで1列1行のます目のデ
ータが値“3”であるので、該計算ルールに従うと3+
5=8という解が得られ、この解の値“8”が第5図(
b)に示すように2列1行のます目に表示される。
[0031] This calculation rule "{1@1}+5" indicates that the value "5" is added to the data in the square of the first column and the first row in the child table 42, and here the value "5" is added to the data in the square of the first column and the first row. Since the eye data has the value “3”, according to the calculation rule, it is 3+
The solution 5=8 is obtained, and the value “8” of this solution is shown in Figure 5 (
As shown in b), it is displayed in a square of two columns and one row.

【0032】同様に、子表42における2列2行のます
目を指定し、計算ルール“{../1@1}+{2@1
}”を入力すると、この計算ルール“{../1@1}
+{2@1}”が該ます目に割当てられる。この計算ル
ールは親表41における1列1行のデータと子表42に
おける2列1行のデータとを加算することを示しており
、ここで親表41における1列1行のデータが値“10
”であり、かつ子表42における2列1行のデータが計
算ルール“{1@1}+5”であるので、子表42にお
ける2列2行のます目の計算ルール“{../1@1}
+{2@1}”に従うと10+{3+5}=18という
解が得られ、この解の値“18”が第5図(c)に示す
ように子表42における2列2行のます目に表示される
Similarly, specify the square of the 2nd column and 2nd row in the child table 42, and use the calculation rule "{../1@1}+{2@1
}”, this calculation rule “{. .. /1@1}
+{2@1}” is assigned to the corresponding square. This calculation rule indicates that the data in column 1 and row 1 in the parent table 41 and the data in column 2 and row 1 in the child table 42 are to be added. Here, the data in column 1 and row 1 in the parent table 41 has the value "10".
” and the data in column 2 and row 1 in the child table 42 has the calculation rule “{1@1}+5”, so the calculation rule in the square in column 2 and row 2 in the child table 42 is “{. .. /1@1}
+{2@1}”, the solution 10+{3+5}=18 is obtained, and the value “18” of this solution is the square in the second column and second row of the child table 42, as shown in Figure 5(c). will be displayed.

【0033】次に、第5図(c)に示した状態において
、親表41における1列1行のます目を指定し、値“5
”を入力すると、該ます目のデータは値“10”から値
“5”へ変更される。このとき、子表42における2列
2行のます目の計算ルール“{../1@1}+{2@
1}”は親表41における1列1行のます目のデータに
関与するので、該計算ルールが改めて行われ、これによ
り5+{3+5}=13という新たな解が得られる。 この新たな解の値“13”は元の値“18”に代って第
5図(d)に示すように子表42における2列2行のま
す目に表示される。  また、第5図(c)に示した状
態において、子表42における1列1行のます目を指定
し、値“0”を入力すると、該ます目のデータは値“3
”から値“0”に変更される。このとき、子表42にお
ける2列1行のます目の計算ルール“{1@1}+5”
が子表42における1列1行のます目に関与するので、
該計算ルールに従って0+5=5という新たな解が求め
られる。この新たな解の値“5”は元の値“8”に代っ
て第5図(e)に示すように子表42における2列1行
のます目に表示される。さらに、子表42における2列
2行のます目の計算ルール“{../1@1}+{2@
1}”は子表42における2列1行のます目のデータに
関与するので、該計算ルールが改めて行われ、これによ
り10+{0+5}=15という新たな解が得られる。 この新たな解の値“15”は元の値“18”に代って第
5図(e)に示すように子表42における2列2行のま
す目に表示される。
Next, in the state shown in FIG. 5(c), specify the square in the 1st column and 1st row of the parent table 41, and set the value "5".
”, the data in the corresponding cell is changed from the value “10” to the value “5”. At this time, the calculation rule for the cell in the second column and second row in the child table 42 is “{. .. /1@1}+{2@
1}" relates to the data in the first column and first row of the parent table 41, so the calculation rule is re-performed and a new solution of 5+{3+5}=13 is obtained. This new solution The value "13" is displayed in the square of the second column and second row of the child table 42 in place of the original value "18" as shown in FIG. 5(d). Also, as shown in FIG. 5(c) In the state shown in , if you specify a square in the first column and first row of the child table 42 and enter the value "0", the data in the corresponding square will be set to the value "3".
" is changed to the value "0". At this time, the calculation rule for the second column, first row, square in the child table 42 is "{1@1}+5".
is involved in the square of the first column and the first row in the child table 42, so
A new solution of 0+5=5 is found according to the calculation rule. This new solution value "5" is displayed in the square of the second column and first row of the child table 42, as shown in FIG. 5(e), instead of the original value "8". Furthermore, the calculation rule for the square of the second column and second row in the child table 42 is “{../1@1}+{2@
1}” is related to the data in the second column, first row, square in the child table 42, the calculation rule is executed again, and a new solution of 10+{0+5}=15 is obtained.This new solution The value "15" is displayed in the square of the second column and second row of the child table 42, as shown in FIG. 5(e), instead of the original value "18".

【0034】このように親表41のます目のデータとし
て子表42を割当てれば、子表42は親表41に属する
こととなり、親表41における各ます目のデータと子表
42における各ます目のデータとを相互に関連させつつ
編集することができる。
In this way, if the child table 42 is assigned as the data in each square of the parent table 41, the child table 42 will belong to the parent table 41, and the data in each square in the parent table 41 and each data in the child table 42 will be assigned. It is possible to edit the data of the squares while relating them to each other.

【0035】そして、管理手段8における階層管理手段
8−1は先に述べたように子表42を指示するポインタ
を親表41における2列2行のます目に割当てるととも
に、親表41を指示するポインタを子表42の管理デー
タとして設定する。また、階層管理手段8−1は親表4
1および子表42を記憶手段10に記憶するに際し、子
表42へのポインタを親表41における2列2行のます
目のデータとして記憶するとともに、親表41へのポイ
ンタを子表42の管理データとして記憶する。したがっ
て、親表41および子表42を記憶手段10から読出す
に際し、親表41と子表42の相互関係を再現すること
ができる。
Then, the hierarchy management means 8-1 in the management means 8 allocates the pointer pointing to the child table 42 to the square of the second column and second row of the parent table 41, and also points the parent table 41. This pointer is set as the management data of the child table 42. In addition, the hierarchy management means 8-1 is the parent table 4
1 and the child table 42 in the storage means 10, the pointer to the child table 42 is stored as the data in the second column, second row, square in the parent table 41, and the pointer to the parent table 41 is stored in the child table 42. Store as management data. Therefore, when reading the parent table 41 and the child table 42 from the storage means 10, the mutual relationship between the parent table 41 and the child table 42 can be reproduced.

【0036】次に、子表42を削除する場合は、マウス
33を操作することにより表示画面上でカーソルを移動
して、親表41における2列2行のます目を指定すると
、このます目が第4図(c)に示すように太枠で表示さ
れる。この後、マウス33を操作することにより表示画
面上でカーソルを移動して、予め表示されているコマン
ドメニューから消去を示すコマンドを指示すると消去手
段7が起動され、消去手段7は第4図(e)に示すよう
に子表42を消去する。このとき、管理手段8における
階層管理手段8−1は子表42の管理データとして設定
しておいた親表41へのポインタAを消去するとともに
、親表41における2列2行のます目にデータとして割
当てておいた子表42へのポインタBを消去する。
Next, when deleting the child table 42, move the cursor on the display screen by operating the mouse 33 and specify the square in the second column and second row in the parent table 41. is displayed in a thick frame as shown in FIG. 4(c). Thereafter, when the cursor is moved on the display screen by operating the mouse 33 and a command indicating erasing is specified from the command menu displayed in advance, the erasing means 7 is activated, and the erasing means 7 is activated as shown in FIG. Delete the child table 42 as shown in e). At this time, the hierarchical management means 8-1 in the management means 8 erases the pointer A to the parent table 41 that has been set as the management data of the child table 42, and also points the pointer A to the second column and second row of the parent table 41 to The pointer B to the child table 42 allocated as data is deleted.

【0037】したがって、親表41のます目に割当てら
れた子表を生成したり消去したりすることを自在になし
うる。
Therefore, child tables assigned to squares of the parent table 41 can be freely created and deleted.

【0038】なお、上記実施例では親表のます目内に子
表を表示するようにしているが、親表および子表を表示
画面上の全く異なるスペースもしくは2つのウィンドウ
内にそれぞれ表示するようにしてもよい。このようにす
ると子表を表示するスペースが限られず、見易くなる。
In the above embodiment, the child table is displayed within the square of the parent table, but it is also possible to display the parent table and the child table in completely different spaces on the display screen or in two windows. You can also do this. In this way, the space for displaying the child table is not limited and it becomes easier to see.

【0039】また、親表の各ます目にそれぞれの子表を
割当ててもよく、この場合には各子表へのポインタを親
表の各ます目にそれぞれ割当てるとともに、親表へのポ
インタを各子表の管理データとしてそれぞれ設定し、こ
れにより親表と各子表間の相互関係を維持する。
[0039] Furthermore, each child table may be assigned to each square of the parent table. In this case, a pointer to each child table is assigned to each square of the parent table, and a pointer to the parent table is also assigned to each square of the parent table. This is set as management data for each child table, thereby maintaining the mutual relationship between the parent table and each child table.

【0040】さらに、子表を親と見なし、この表に対す
る子表を作成してもよく、この場合には親表、子表、孫
表というように多層の階層構造を構成することができる
。したがって、上位の表から下位の表へと、または下位
の表から上位の表へというような手順を追った表計算を
その階層構造を認識しつつ系統的に行うことが可能とな
る。
Furthermore, a child table may be regarded as a parent and a child table may be created for this table. In this case, a multilayered hierarchical structure such as a parent table, child table, and grandchild table can be constructed. Therefore, it is possible to perform spreadsheet calculations in a step-by-step manner, such as from a higher-level table to a lower-level table, or from a lower-level table to a higher-level table, while recognizing the hierarchical structure.

【0041】[0041]

【発明の効果】以上説明したように本発明によれば、子
の表が親の表のます目に属するという階層構造を形成し
ているので、複数の表を階層構造をもって管理し、上位
の表から下位の表へと、または下位の表から上位の表へ
というような表計算を系統的に行うことができる。
[Effects of the Invention] As explained above, according to the present invention, a hierarchical structure is formed in which a child table belongs to a square of a parent table. Spreadsheet calculations can be performed systematically from a table to a lower-level table, or from a lower-level table to a higher-level table.

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

【図1】本発明に係わる表計算装置の一実施例を示す機
能ブロック図。
FIG. 1 is a functional block diagram showing an embodiment of a spreadsheet device according to the present invention.

【図2】第1図に示した実施例における親表および子表
の相互関係を示す図。
FIG. 2 is a diagram showing the mutual relationship between a parent table and a child table in the embodiment shown in FIG. 1;

【図3】第1図に示した実施例のハード構成を概略的に
示すブロック図。
FIG. 3 is a block diagram schematically showing the hardware configuration of the embodiment shown in FIG. 1;

【図4】親表および子表の表示態様を例示する図。FIG. 4 is a diagram illustrating a display mode of a parent table and a child table.

【図5】親表および子表の表示態様を例示する図。FIG. 5 is a diagram illustrating a display mode of a parent table and a child table.

【図6】従来の表計算を例示する図。FIG. 6 is a diagram illustrating a conventional spreadsheet.

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

1…選択手段 2…生成手段 3…編集手段 4…複写手段 5…移動手段 6…領域変更手段 7…消去手段 8…管理手段 8−1…階層管理手段 9…表示手段 10…記憶手段 21…第1の表 22…第2の表 31…中央処理装置 32…キーボード 33…マウス 34…表示装置 41…親表 42…子表 1...Selection means 2... Generation means 3...Editing means 4... Copying means 5...Means of transportation 6... Area changing means 7... Erasing means 8...Management means 8-1...Hierarchy management means 9...Display means 10...Storage means 21...First table 22...Second table 31...Central processing unit 32...Keyboard 33...Mouse 34...Display device 41...Parent table 42…Child table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のます目を有する表を表示し、この表
の各ます目に入力されたデータに基づいて表計算を行う
表計算装置において、所定の階層構造に基づく関係を相
互に有する複数の表を備え、前記所定の階層構造は子の
表が親の表のます目に属することにより形成されること
を特徴とする表計算装置。
[Claim 1] A spreadsheet device that displays a table having a plurality of squares and performs spreadsheet calculations based on data entered in each square of the table, which mutually have a relationship based on a predetermined hierarchical structure. A spreadsheet device comprising a plurality of tables, wherein the predetermined hierarchical structure is formed by child tables belonging to cells of a parent table.
JP2405450A 1990-12-25 1990-12-25 Table calculater device Pending JPH04222053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2405450A JPH04222053A (en) 1990-12-25 1990-12-25 Table calculater device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2405450A JPH04222053A (en) 1990-12-25 1990-12-25 Table calculater device

Publications (1)

Publication Number Publication Date
JPH04222053A true JPH04222053A (en) 1992-08-12

Family

ID=18515046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2405450A Pending JPH04222053A (en) 1990-12-25 1990-12-25 Table calculater device

Country Status (1)

Country Link
JP (1) JPH04222053A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6327592B1 (en) 1997-07-04 2001-12-04 Nec Corporation Data calculator performing automatic recalculation based on data structure network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6327592B1 (en) 1997-07-04 2001-12-04 Nec Corporation Data calculator performing automatic recalculation based on data structure network

Similar Documents

Publication Publication Date Title
US5905496A (en) Workflow product navigation system
US5548703A (en) Navigation within a compound graphical object in a graphical user interface
US20140033112A1 (en) Management of multiple window panels with a graphical user interface
JPH02130628A (en) Inputting of data
JPH05150931A (en) Method and apparatus for processing scope changing command
KR20060052717A (en) Virtual desktop-meta-organization & control system
US5995984A (en) Apparatus and method for zoom-in entry of an element in a table
JPH0769778B2 (en) Icon menu / palletizing method
JP2693777B2 (en) Interactive screen definition method and apparatus
JPH04222053A (en) Table calculater device
JPH03167625A (en) Menu display system
JP2785941B2 (en) Window information division / integration processing method
JP2789618B2 (en) Tree structure drawing system
JPH01116729A (en) Editor for specification description
JPH0454668A (en) Table calculating device
JPH01156843A (en) Operating device for hierarchy file
JP2554631B2 (en) Object selection method
JP2555976B2 (en) GUI construction tool
JPH04232567A (en) Table calculation device
JP3335213B2 (en) Information devices and methods for displaying information graphically
JPH02272622A (en) Data display controller
CN106569785A (en) Job form generating method and equipment
JP3977874B2 (en) Document output method and apparatus
JPH0454667A (en) Table calculating device
JPH02118768A (en) Data processor