JPH06332599A - Data processor - Google Patents

Data processor

Info

Publication number
JPH06332599A
JPH06332599A JP5141301A JP14130193A JPH06332599A JP H06332599 A JPH06332599 A JP H06332599A JP 5141301 A JP5141301 A JP 5141301A JP 14130193 A JP14130193 A JP 14130193A JP H06332599 A JPH06332599 A JP H06332599A
Authority
JP
Japan
Prior art keywords
date
month
reserved word
data
designated
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
JP5141301A
Other languages
Japanese (ja)
Inventor
Junji Mori
潤二 森
Takashi Kurihara
栗原  隆
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 JP5141301A priority Critical patent/JPH06332599A/en
Publication of JPH06332599A publication Critical patent/JPH06332599A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To automatically generate the real date data by only designating reserve words which have bee decided previously without inputting numerical strings representing the dates. CONSTITUTION:When the reserve words showing the dates are designated from a condition designation part 1, a date data generation part 3 refers to a reserve word table 6 and reads out a correction value corresponding to the reserve word. The part 3 corrects the prescribed reference date based on the correction value and automatically generates the real date data corresponding to the designated reserve word.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、パーソナルコンピュ
ータやオフィスコンピュータ等において、日付データを
処理するデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for processing date data in a personal computer, an office computer or the like.

【0002】[0002]

【従来の技術】一般に、オフィスコンピュータ等の事務
処理装置においては、会計ファイル、人事ファイル、売
上伝票ファイル、在庫ファイル等、多種多様のファイル
を記憶管理している。ここで、ユーザが日付等を出力対
象の抽出条件として指定すると、指定された抽出条件に
該当するデータが所定のファイルから読み出されて出力
される。この場合、日付データを指定する方法は、例え
ば図7に示す様に、条件項目「年月度」の条件値として
暦上の実際の“年月”、例えば「199303(199
3年3月)、「199302(1993年2月)」を入
力するようにしていた。
2. Description of the Related Art Generally, an office processing device such as an office computer stores and manages various files such as an accounting file, a personnel file, a sales slip file, and an inventory file. Here, when the user specifies a date or the like as an extraction condition to be output, data corresponding to the specified extraction condition is read from a predetermined file and output. In this case, for example, as shown in FIG. 7, the method of designating the date data is as follows: As shown in FIG.
(March 3), "199302 (February 1993)" was input.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、“年
月”を示す一連の数値列をそのまま入力しながら日付を
指定してゆく方法は、桁数が多い為、入力ミスが起り易
いと共に、例えば、前月の会計残高等を毎月帳票出力さ
せる場合には、帳票出力の都度、帳票出力指定の所期画
面で前月を示す一連の“毎月”からなる数値列を入力し
なければならず、一層、入力ミスが起り易くなると共
に、時間と労力を必要とする等の欠点があった。この発
明の課題は、日付を示す数値列を入力しなくても予め決
められている予約語を単に指定するだけで、実際の日付
データを自動的に生成できるようにすることである。
However, the method of designating a date while directly inputting a series of numerical values representing "year / month" has a large number of digits, and thus an input error is likely to occur. If you want to output the accounting balance etc. of the previous month every month, you have to input a series of "Monthly" numerical values indicating the previous month on the expected screen for specifying the form output each time you output the form. There were drawbacks such as making mistakes easily and requiring time and labor. An object of the present invention is to make it possible to automatically generate actual date data by simply specifying a predetermined reserved word without inputting a numerical value sequence indicating a date.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。 (1)、テーブル記憶手段は日付に代わる代用文字列と
しての予約語と、日付を補正する補正値とを対応付けた
予約語テーブルを記憶するもので、例えば、日付に代わ
る代用文字列としての予約語は「当月」、「前月」、
「前々月」、「3ケ月前」……「前年同月」等である。 (2)、予約語指定手段は予め決められている予約語を
指定するキー入力装置等である。 (3)、読み出し手段はこの予約語指定手段によって指
定された予約語が日付に代わる代用文字列である場合
に、その予約語に対応する補正値を前記テーブル記憶手
段から読み出す。 (4)、日付データ生成手段はこの読み出し手段によっ
て読み出された補正値に基づいて所定の基準日付を補正
することにより、前記指定された予約語に対応する実際
の日付データを生成する。この場合、基準日付は計時手
段で得られた現在の日付データであっても、日付指定手
段によって指定された任意の日付データであってもよ
い。
The means of the present invention are as follows. (1) The table storage means stores a reserved word table in which a reserved word as a substitute character string in place of a date and a correction value for correcting the date are associated with each other. For example, as a substitute character string in place of the date, Reserved words are "current month", "previous month",
"Last month before", "3 months ago" ... "Same month last year". (2) The reserved word designating means is a key input device for designating a predetermined reserved word. (3) When the reserved word designated by the reserved word designating means is a substitute character string for the date, the reading means reads the correction value corresponding to the reserved word from the table storage means. (4) The date data generating means corrects a predetermined reference date based on the correction value read by the reading means to generate actual date data corresponding to the designated reserved word. In this case, the reference date may be the current date data obtained by the time counting means or any date data designated by the date designating means.

【0005】[0005]

【作用】この発明の手段の作用は次の通りである。い
ま、予約語指定手段によって日付に代わる代用文字列と
しての予約語、例えば「3ケ月前」を指定すると、読み
出し手段は指定された予約語に対応する補正値を予約語
テーブルから読み出す。すると、日付データ生成手段は
この読み出し手段によって読み出された補正値に基づい
て所定の基準日付を補正することにより、前記指定され
た予約語に対応する実際の日付データを生成する。この
場合、基準日付から3ケ月前の日付データが生成され
る。したがって、日付を示す数値列を入力しなくても予
め決められている予約語を単に指定するだけで、実際の
日付データを自動的に生成することができる。
The operation of the means of the present invention is as follows. Now, when the reserved word as the substitute character string for the date is designated by the reserved word designating means, for example, "3 months ago", the reading means reads the correction value corresponding to the designated reserved word from the reserved word table. Then, the date data generating means corrects the predetermined reference date based on the correction value read by the reading means to generate the actual date data corresponding to the designated reserved word. In this case, date data three months before the reference date is generated. Therefore, actual date data can be automatically generated by simply designating a predetermined reserved word without inputting a numerical value sequence indicating a date.

【0006】[0006]

【実施例】以下、図1〜図6を参照して一実施例を説明
する。図1はデータ処理装置の要部を示したブロック図
である。条件指定部1はキー入力装置であり、出力対象
の抽出条件としてファイル名、項目名、日付を任意に指
定するもので、本実施例において日付は数値列データで
はなくそれに代わる代用文字列で指定するようにしてい
る。例えば、「当月」、「年月」、「3ケ月前」……
「12ケ月前」等の代用文字列で日付指定を行う。その
際、この代用文字列を直接、文字キーによって入力する
ようにしてもよいが、本実施例においては、代用文字列
の一覧をテーブルに予め記憶させておき、日付指定時に
このテーブル内容をウィンドウ画面に一覧表示させ、そ
の中から任意の代用文字列を選択することによって日付
指定を行うようにしている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram showing a main part of a data processing device. The condition designation unit 1 is a key input device, and arbitrarily designates a file name, an item name, and a date as an extraction condition of an output target. In the present embodiment, the date is designated by a substitute character string instead of the numerical value column data. I am trying to do it. For example, "current month", "year and month", "three months ago" ...
The date is designated by a substitute character string such as "12 months ago". At this time, this substitute character string may be directly input by a character key, but in the present embodiment, a list of substitute character strings is stored in a table in advance, and when the date is designated, the table contents are displayed in a window. The date is specified by displaying a list on the screen and selecting an arbitrary substitute character string from the list.

【0007】データタイプ指定部2は日付データが出力
される際のタイプを指定するもので、“年月”のデータ
を西暦表記で出力させる際に、“年”のデータを4桁で
表現する正式タイプで出力させるか、下2桁で表現する
略式タイプで出力させるかを選択的に指定する。また、
データタイプ指定部2は基準月の指定も行う。ここで、
「基準月」とは日付に代わる代用文字列である“当月”
を認識する上での基準となる月を示し、基準月を現在の
月とする場合には基準月として“0”を指定し、基準月
を現在の月から1ケ月前とする場合には“1”、2ケ月
前とする場合には“2”、……12ケ月前とする場合に
は“12”を基準月として指定する。なお、日付データ
の出力タイプや基準月を任意に指定する場合にもそれに
対応する選択候補がウィンドウ画面に一覧表示され、そ
の中から所望する候補を指定するようにしている。
The data type designating section 2 is for designating the type when date data is output. When the "year / month" data is output in the year notation, the "year" data is represented by four digits. Select whether to output in formal type or in informal type expressed by the last two digits. Also,
The data type designation unit 2 also designates a reference month. here,
"Reference month" is a substitute character string for the date, "current month"
Indicates the month that serves as the reference month for recognizing, and if the reference month is the current month, specify "0" as the reference month, and if the reference month is one month before the current month, specify "0". If it is 1 "or 2 months ago," 2 "is specified .... If it is 12 months ago," 12 "is specified as the reference month. Even when the output type of the date data and the reference month are arbitrarily designated, the selection candidates corresponding to them are listed on the window screen, and the desired candidate is designated from the list.

【0008】日付データ生成部3はデータタイプ指定部
2から任意に指定された出力タイプおよび基準月を日付
パラメータテーブル4に設定したり、条件指定部1から
任意に指定された出力対象のファイル名および項目名を
抽出条件メモリ5に設定し、更には、条件指定部1から
日付に代わる代用文字列が指定された場合には日付パラ
メータテーブル4、予約語テーブル6、時計回路部7を
参照し、指定された代用文字列に該当する西暦表記の日
付データを生成して抽出条件メモリ5に設定する。
The date data generation unit 3 sets the output type and reference month arbitrarily specified by the data type specification unit 2 in the date parameter table 4, and the file name of the output target arbitrarily specified by the condition specification unit 1. And the item name are set in the extraction condition memory 5, and when the condition designating unit 1 designates a substitute character string instead of the date, the date parameter table 4, the reserved word table 6, and the clock circuit unit 7 are referred to. , Date data corresponding to the designated substitute character string is generated and set in the extraction condition memory 5.

【0009】日付パラメータテーブル4は図2に示す如
く構成されており、その出力タイプ指定エリアには出力
タイプとして西暦の年を4桁で表現する正式タイプが選
択指定された場合には“0”のデータが設定され、下2
桁で表現する略式タイプが選択指定された場合には
“1”のデータが設定される。また、基準月設定エリア
には指定された基準月に応じて“0”〜“12”のデー
タが設定される。
The date parameter table 4 is constructed as shown in FIG. 2. In the output type designation area, "0" is selected when a formal type expressing the year of the Christian era in four digits is selected and designated as the output type. Data is set, the bottom 2
When the abbreviation type represented by digits is selected and designated, the data of "1" is set. Further, data of "0" to "12" is set in the reference month setting area according to the designated reference month.

【0010】予約語テーブル6は図3に示す如く構成さ
れている。即ち、予約語テーブル6は日付に代わる代用
文字列としての予約語と、日付を補正する補正値とを対
応付けたテーブル構成となっている。例えば、「当
月」、「前月」、「前々月」、「3ケ月前」……「12
ケ月前」、「前年同月」の予約語名に対応して補正値
「0」、「1」、「2」、「3」……「13」が記憶さ
れている。つまり、この補正値は当月を基準としてそれ
よりも前の月を1ケ月単位で特定する為の補正値であ
り、本実施例においては当月(基準月)から数えて13
ケ月前(前年同月)までの補正が行われる。
The reserved word table 6 is constructed as shown in FIG. That is, the reserved word table 6 has a table configuration in which reserved words as substitute character strings instead of dates are associated with correction values for correcting dates. For example, "current month", "previous month", "two months before", "three months ago" ... "12
Correction values “0”, “1”, “2”, “3” ... “13” are stored corresponding to the reserved word names of “Before month” and “Same month of the previous year”. That is, this correction value is a correction value for specifying the month prior to the current month in units of one month, and in the present embodiment, 13 is counted from the current month (reference month).
Corrections are made up to the month before (the same month last year).

【0011】時計回路部7は計時用のクロック信号に基
づいて現在の日付データ(システム日付)を得るもの
で、日付データ生成部3は時計回路部7から“年月”の
データを取り込む。なお、データ抽出部8は抽出条件メ
モリ5内に設定された出力対象の抽出条件を示すファイ
ル名、項目名、日付データに基づいてファイル9を検索
し、これらの条件に合致するレコードデータをファイル
9から抽出してデータ出力部10に与える。
The clock circuit unit 7 obtains the current date data (system date) based on the clock signal for clocking, and the date data generation unit 3 fetches the "year / month" data from the clock circuit unit 7. The data extraction unit 8 searches the file 9 based on the file name, the item name, and the date data indicating the extraction condition of the output target set in the extraction condition memory 5, and records the record data that matches these conditions to the file. It is extracted from 9 and given to the data output unit 10.

【0012】次に、本実施例の動作を図4〜図6を参照
して説明する。図4は日付データ生成部3の動作を示し
たフローチャートである。先ず、ユーザは日付データ生
成用のパラメータをデータタイプ指定部2から任意に指
定する。この場合、日付の出力タイプや基準月に対応し
てその選択候補が一覧表示されるので、その中から所望
する候補を指定する。これによって指定された出力タイ
プおよび基準月は日付データ生成部3に取り込まれたの
ち日付パラメータテーブル4に設定される(ステップS
1)。ここで、図2の例では出力タイプに対応する日付
パラメータテーブル4の設定エリアに“1”がセットさ
れ、西暦の“年”を下2桁で表現する略式タイプが指定
されたことを示し、また基準月に対応する指定エリアに
は“0”がセットされ、日付を示す予約語の「当月」と
して現在の月が指定されたことを示している。次に、ユ
ーザはデータの出力対象の抽出条件を任意に条件指定部
1から指定する。例えば図5に示す様に、出力対象のフ
ァイル名(会計残高ファイル)、項目名(勘定科目)の
他、日付を示す予約語(当月)を指定すると、指定され
たこれらの条件は日付データ生成部3に取り込まれる
(ステップS2)。なお、日付を示す予約語指定時にお
いてもその選択候補が一覧表示されるので、その中から
所望する候補を選択して予約語の指定を行う。
Next, the operation of this embodiment will be described with reference to FIGS. FIG. 4 is a flowchart showing the operation of the date data generator 3. First, the user arbitrarily specifies the date data generation parameter from the data type specification unit 2. In this case, the selection candidates are displayed in a list corresponding to the output type of the date and the reference month, and the desired candidate is designated from the list. The output type and the reference month designated by this are set in the date parameter table 4 after being fetched by the date data generator 3 (step S).
1). Here, in the example of FIG. 2, it is shown that "1" is set in the setting area of the date parameter table 4 corresponding to the output type, and the informal type that represents the "year" of the Christian era by the last two digits is specified. Further, "0" is set in the designated area corresponding to the reference month, indicating that the current month is designated as the "current month" of the reserved word indicating the date. Next, the user arbitrarily specifies the extraction condition of the data output target from the condition specifying unit 1. For example, as shown in FIG. 5, if a reserved word (current month) indicating a date is specified in addition to the output target file name (accounting balance file), item name (account item), these specified conditions will generate date data. It is taken into the unit 3 (step S2). It should be noted that even when the reserved word indicating the date is designated, the selection candidates are displayed in a list, and a desired candidate is selected from the list to designate the reserved word.

【0013】このように出力対象の抽出条件が指定され
ると、日付データ生成部3はその中に日付を示す予約語
が含まれているか否かを予約語テーブル6を参照するこ
とによってチェックする(ステップS3)。ここで、日
付を示す予約語が含まれていなければ、指定された各条
件をそのまま抽出条件メモリ5に書き込むが(ステップ
S9)、日付を示す予約語が含まれていれば、日付デー
タ生成部3はその予約語に対応する実際の日付データを
生成する為にステップS4〜S8の処理を行う。
When the extraction condition to be output is designated in this way, the date data generator 3 checks whether or not the reserved word indicating the date is included therein by referring to the reserved word table 6. (Step S3). If the reserved word indicating the date is not included, the designated conditions are written in the extraction condition memory 5 as they are (step S9), but if the reserved word indicating the date is included, the date data generation unit 3 performs the processing of steps S4 to S8 in order to generate the actual date data corresponding to the reserved word.

【0014】先ず、日付データ生成部3は指定された予
約語に対応する補正値を予約語テーブル6から読み出す
と共に(ステップS4)、時計回路部7をアクセスして
現在の“年月”の計時情報(システム日付)を読み出す
(ステップS5)。そして、日付パラメータテーブル4
に設定されている基準月を読み出し、この基準月に基づ
いてシステム日付の補正を行う(ステップS6)。ここ
で、システム日付の年を「Y0」、月を「M0」、基準月
を「BASE」、補正後の年を「Y1」、月を「M1」と
すると、 (1)、M0−BASE>0 Y1=Y0、M1=M0−BASE (2)、M0−BASE≦0 Y1=Y0−1、M1=M0−BASE+12 の補正演算が行われる。いま、システム日付が「199
3年5月」で、基準月が“0”であれば、上式(1)の
演算が行われ、補正後の年「Y1=1993年」、月
「M1=5月」、つまり、現在の日付がそのまま当月と
なるが、基準月が“6”の場合には上式(2)の演算が
行われ、補正後の年「Y1=1992年」、月「M1=1
1月」となり、現在の日付が基準月分だけ変化され、こ
の日付が当月となる。
First, the date data generator 3 reads out the correction value corresponding to the designated reserved word from the reserved word table 6 (step S4), and accesses the clock circuit 7 to measure the current "year / month". The information (system date) is read (step S5). And the date parameter table 4
The reference month set to is read out, and the system date is corrected based on this reference month (step S6). Here, assuming that the year of the system date is “Y 0 ”, the month is “M 0 ”, the reference month is “BASE”, the corrected year is “Y 1 ”, and the month is “M 1 ”, (1), M 0 -BASE> 0 Y 1 = Y 0, M 1 = M 0 -BASE (2), M 0 -BASE ≦ 0 Y 1 = Y 0 -1, the correction calculation of M 1 = M 0 -BASE + 12 is carried out . Now, the system date is "199
If the reference month is “0” in “May 3rd year”, the above formula (1) is calculated, and the corrected year “Y 1 = 1993”, month “M 1 = May”, that is, , The current date is the current month as it is, but when the reference month is “6”, the above formula (2) is calculated, and the corrected year “Y 1 = 1992” and month “M 1 = 1”
January ”, the current date is changed by the reference month, and this date becomes the current month.

【0015】このようにシステム日付を基準月分だけ変
化させて当月の補正を行った後、この日付を予約語に基
づいて補正する(ステップS7)。ここで、予約語テー
ブル6内に設定されている補正値を「COR」、補正後
の年を「Y2」、月を「M2」とすると、 (3)、M1−COR>0 Y2=Y1、M2=M1−COR (4)、M1−COR≦0 Y2=Y1−1、M2=M1−COR+12 の補正演算が行われる。いま、上述のステップS6で求
めた当月の日付が「1993年2月」で、予約語として
「前月」が指定された場合(補正値「1」の場合)に
は、上式(3)の演算が行われ、補正後の年「Y2=1
993年」、月「M2=1月」となる。また予約語とし
て「3ケ月前」が指定された場合には補正値は「3」と
なるので、上式(4)の演算が行われ、補正後の年「Y
2=1992年」、月「M2=11月」となる。このよう
に予約語に対応する補正値が示す月数分だけ当月の日付
を変化させる補正が行われる。
After correcting the current month by changing the system date by the reference month, the date is corrected based on the reserved word (step S7). Assuming that the correction value set in the reserved word table 6 is “COR”, the corrected year is “Y 2 ”, and the month is “M 2 ” (3), M 1 -COR> 0 Y 2 = Y 1 , M 2 = M 1 −COR (4), M 1 −COR ≦ 0 Y 2 = Y 1 −1, M 2 = M 1 −COR + 12 The correction calculation is performed. If the date of the current month obtained in step S6 is “February 1993” and “previous month” is designated as the reserved word (correction value is “1”), the following formula (3) is used. Calculation is performed and the corrected year "Y 2 = 1"
993 ", the month" M 2 = January ". If "3 months ago" is specified as the reserved word, the correction value is "3", so the above equation (4) is calculated and the corrected year "Y"
2 = 1992 "and the month" M 2 = November ". In this way, the correction is performed to change the date of the current month by the number of months indicated by the correction value corresponding to the reserved word.

【0016】次に、日付データ生成部3は日付パラメー
タテーブル4に設定されている出力タイプを参照し、ス
テップS7で補正した日付データ「Y2、M2」を設定さ
れている出力タイプに合致するデータ構造に変化させる
(ステップS8)。この場合、略式タイプが設定されて
いれば、補正後の日付データ「Y2、M2」のうち年の上
位2桁を除去した日付データに変化させる。このように
して新たに生成された日付データは、予め出力対象の抽
出条件として指定されたファイル名、項目名と共に抽出
条件メモリ5に設定される(ステップS9)。この状態
において、データ出力指令が与えられると、データ抽出
部8は抽出条件メモリ5内の各種抽出条件を参照し、フ
ァイル9から該当するデータを読み出してデータ出力部
10から出力させる。
Next, the date data generator 3 refers to the output type set in the date parameter table 4, and matches the date data "Y 2 , M 2 " corrected in step S7 with the set output type. The data structure is changed (step S8). In this case, if the simplified type is set, the date data “Y 2 , M 2 ” after correction is changed to date data with the upper 2 digits of the year removed. The date data newly generated in this way is set in the extraction condition memory 5 together with the file name and item name previously specified as the extraction condition of the output target (step S9). In this state, when a data output command is given, the data extraction unit 8 refers to various extraction conditions in the extraction condition memory 5, reads the corresponding data from the file 9, and causes the data output unit 10 to output the data.

【0017】このように本実施例においては、日付を示
す数値列を実際に入力しなくても日付を示す予約語を指
定するだけで、所望する西暦表記の日付データを自動的
に生成することができる。したがって、例えば図7に示
す様に条件項目「年月度」の条件値として実際の日付デ
ータ「199303」、「199302」を置数する必
要はなく、図6に示す様に、日付を示す予約語として
「当月」、「前月」を指定するだけでよく、日付指定が
極めて容易なものとなる。
As described above, in the present embodiment, desired date data in the Western calendar notation can be automatically generated only by specifying a reserved word indicating a date without actually inputting a numerical value sequence indicating a date. You can Therefore, for example, as shown in FIG. 7, it is not necessary to register the actual date data “199303” and “199302” as the condition value of the condition item “year / month degree”, and as shown in FIG. As it is only necessary to specify "current month" and "previous month", it becomes extremely easy to specify the date.

【0018】なお、上記実施例は西暦表記の日付データ
を自動生成するようにしたが、和暦表記の日付データを
自動生成するようにしてもよい。また、上記実施例は予
約語テーブル6に設定されている予約語名を1ケ月単位
で表わしたが、1週間単位、1日単位、1年単位で予約
語名を表わすようにしてもよい。更に、上記実施例は基
準月を現在の日付よりも前に設定した場合に、その基準
月から更に1ケ月前、2ケ月前……という様に予約語に
応じて日付を遡るようにしたが、基準月から先の日付、
つまり、1ケ月先、2ケ月先等の予約語を設定しておけ
ば、この予約語に応じて基準月から先の日付も生成する
ことができる。
In the above embodiment, the date data in the Western calendar is automatically generated, but the date data in the Japanese calendar may be automatically generated. Further, in the above embodiment, the reserved word names set in the reserved word table 6 are represented in units of one month, but the reserved word names may be represented in units of week, day, or year. Further, in the above embodiment, when the reference month is set before the current date, the date is traced back one month before the reference month, two months before, etc., according to the reserved word. , The date after the reference month,
In other words, if reserved words such as one month ahead and two months ahead are set, dates ahead of the reference month can be generated according to the reserved words.

【0019】[0019]

【発明の効果】この発明によれば、日付を示す数値列を
入力しなくても予め決められている予約語を単に指定す
るだけで、実際の日付データを自動的に生成することが
できるので、特に、会計業務等の様に日付を頻繁に入力
する場合、例えば、前月の帳票を毎月出力しようとする
場合、“前月”の予約語を指定しておけばよく、日付入
力という面倒な労力から開放され、会計業務等を正確か
つ効率良く行うことが可能となる。
As described above, according to the present invention, actual date data can be automatically generated by simply designating a predetermined reserved word without inputting a numeric string indicating a date. , Especially when frequently inputting the date such as accounting work, for example, when trying to output the form of the previous month every month, it suffices to specify the "previous month" reserved word, which is a laborious task of inputting the date. It is possible to carry out accounting tasks accurately and efficiently.

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

【図1】実施例に係るデータ処理装置のブロック図。FIG. 1 is a block diagram of a data processing device according to an embodiment.

【図2】日付パラメータテーブル4の構成を示した図。FIG. 2 is a diagram showing a configuration of a date parameter table 4.

【図3】予約語テーブル6の構成を示した図。FIG. 3 is a diagram showing a configuration of a reserved word table 6.

【図4】日付データ生成部3の動作を示したフローチャ
ート。
FIG. 4 is a flowchart showing the operation of the date data generator 3.

【図5】出力対象の抽出条件を指定する場合を具体的に
示した図。
FIG. 5 is a diagram specifically showing a case where an extraction condition of an output target is designated.

【図6】日付を示す予約語を指定する場合を具体的に示
した図。
FIG. 6 is a diagram specifically showing a case where a reserved word indicating a date is designated.

【図7】従来において日付を抽出条件項目として指定す
る場合を具体的に示した図。
FIG. 7 is a diagram specifically showing a case where a date is conventionally designated as an extraction condition item.

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

1 条件指定部 2 データタイプ指定部 3 日付データ生成部 4 日付パラメータテーブル 5 抽出条件メモリ 6 予約語テーブル 7 時計回路部 1 Condition designation part 2 Data type designation part 3 Date data generation part 4 Date parameter table 5 Extraction condition memory 6 Reserved word table 7 Clock circuit part

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】日付に代わる代用文字列としての予約語
と、日付を補正する補正値とを対応付けた予約語テーブ
ルを記憶するテーブル記憶手段と、 予め決められている予約語を指定する予約語指定手段
と、 この予約語指定手段によって指定された予約語が日付に
代わる代用文字列である場合に、その予約語に対応する
補正値を前記テーブル記憶手段から読み出す読み出し手
段と、 この読み出し手段によって読み出された補正値に基づい
て所定の基準日付を補正することにより、前記指定され
た予約語に対応する実際の日付データを生成する日付デ
ータ生成手段と、 を具備したことを特徴とするデータ処理装置。
1. A table storage means for storing a reserved word table in which a reserved word as a substitute character string instead of a date and a correction value for correcting the date are associated with each other, and a reservation for designating a predetermined reserved word. A word designating means, a reading means for reading out a correction value corresponding to the reserved word from the table storing means when the reserved word designated by the reserved word designating means is a substitute character string for the date; Date data generating means for generating actual date data corresponding to the designated reserved word by correcting a predetermined reference date based on the correction value read by Data processing device.
【請求項2】前記基準日付は計時手段で得られた現在の
日付データであることを特徴とする請求項(1)記載の
データ処理装置。
2. The data processing device according to claim 1, wherein the reference date is current date data obtained by a time measuring means.
JP5141301A 1993-05-21 1993-05-21 Data processor Pending JPH06332599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5141301A JPH06332599A (en) 1993-05-21 1993-05-21 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5141301A JPH06332599A (en) 1993-05-21 1993-05-21 Data processor

Publications (1)

Publication Number Publication Date
JPH06332599A true JPH06332599A (en) 1994-12-02

Family

ID=15288707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5141301A Pending JPH06332599A (en) 1993-05-21 1993-05-21 Data processor

Country Status (1)

Country Link
JP (1) JPH06332599A (en)

Similar Documents

Publication Publication Date Title
JP6684233B2 (en) Test input information retrieval device and method
JPH06332599A (en) Data processor
JP2001282344A (en) Method and system for making production plan of tact production
JPH10187838A (en) Table data output device
JP3047400B2 (en) Data processing device
JP3567299B2 (en) Graph generation output device
JP3337469B2 (en) Information processing device
JP3109330B2 (en) Form output device
JPH10254891A (en) Information retrieving device
JP3234718B2 (en) Character information display processing device depending on date and time
JPH06187385A (en) Drawing retrieval system
JPS6232432B2 (en)
JP3456481B2 (en) Information processing device
JPH0215374A (en) Image information retrieving device
EP0261496A2 (en) Electronic memorandum
JPH04263329A (en) Knowledge correction back-up system
JPH0926874A (en) Automatically generating system for asset correction history
JPH0736652A (en) Information display device
JP2012173983A5 (en)
JP3318754B2 (en) File update processor
JPH0133794B2 (en)
JPH09179879A (en) Portable information equipment and data reading method
JPH0855003A (en) Still picture filing device
US20050278356A1 (en) Module editor
JPH05189482A (en) Information retrieval device