Download KeyText 2000 - MJMSoft Design
Transcript
KEYTEXT 2000
after each other. If you do want a [Return] to be typed by KeyText after such fields you can add a
second [Return], or use {Return}. This new feature can be turned off in the customize settings dialog.
See page 46 for information on the syntax of the fields made by the Insert Field Wizard.
Comment
Type any comment text in the text window and press Finish. It will be ignored when using the text item.
Date or time
The wizard gives the opportunity to select what date should be used. You can choose "Current date", which refers to the
date on which the text item is used - it is updated each time. You can also choose a date n days before or after the current
date, and have the option to count only working days and ignore weekends (for example, if the current day is a
Wednesday, adding 5 working days will give the following Wednesday).
Or you can choose a date n months before or after the current date, and can select whether the result is the first or last day
of the month, or the same day of the month as the current date. You can also use this option to give the first or last day of
the current month: choose Current date +0 months, and click "First/Last day of month".
If you have selected a date which is not the current date, a code* is added to the date field so that it can be updated
correctly each time the item containing the field is used. Once you have decided on the date, press Next to select the
format you require.
Your pre-defined date and time formats are indicated using, as an example, the date and time you have just selected.
Select one of these and press Finish, or if you want to define a custom date/time field, click Custom Date / Time, and
press Next. (If you want to change your pre-defined formats, go to Control Panel and select Regional Settings.)
* The date code is generated for you by the Insert field wizard, but for reference it is given as follows: Date+n[code]
"+" can be + or -, indicating forwards or backwards in time. n is a number from 0 to 99999, indicating the number of days
or months to move from the current date.
If code is omitted, days are assumed: forward or back n days. Otherwise code can be:
d - days, same as if omitted
r - working days only: counts Monday to Friday but ignores weekends
m - months: forward or back n months, using same day of month as current date
mf - months as above, but giving the first day of the resulting month
ml - months as above, but giving the last day of the resulting month
n should only be 0 (zero) if mf or ml are given as codes, which will give the first or last day of the current month.
Otherwise 0 simply indicates the current date and is not required.
Insert custom date or time
You can define a custom date or time field here by clicking the appropriate buttons to assemble the format you want. The
"code" which generates the format is shown in the text window, and a sample is shown alongside it. Note the new option
from version 1.2 to allow the use of ordinals in dates: for example, 1st, 2nd, 3rd, etc. Press Finish when the date is as you
require. [If the button for AM/PM is blank, this means an AM/PM indicator has not been set on your system. Go to
Control Panel and select Regional Settings to set this.]
The date code uses standard Windows date/time codes, with the addition of D, for 1st, 2nd, 3rd etc.; by using these codes,
KeyText ensures that the date or time is given in your own language. See page 48 for further details.
A symbol or accented character
Select the symbol or accented character you require, and click Finish. Note that any characters that cannot be typed with
one combination of keys will be pasted in by KeyText, even if the action is "Macro".
30