tcl.update

Verb: Access/TCL, Releases: AP, AP 6.2, and AP 6.1

Invokes Update processor.

Syntax

update file.reference {item.list*} {attr.list} {(options)}

Description

invokes the 'Update processor' for adding, changing, deleting, or simply 'cruising' through data in a given file.

The 'attr.list' functions in the same way as the 'outlist' in a 'list' or 'sort' command. It indicates the names of the attributes that are to be affected by the command. Specific attributes can be updated, without using the default macro defined on the file's 'd-pointer'.

'u' is a synonym of 'update'.

Options

i Includes item-id in UP workspace. Each item prompts for an item-id. (see 'id-prompt')

s Toggles off spelling checker. (see 'speller-off')

l 'Look' only. The item cannot be filed or deleted.

c Clears the screen before bringing each item into UP workspace.

r 'Raw' option. When using this option, UP will show non-displayable characters as periods, and the escape character as a '['. In this mode, the escape character can be entered directly. On releases 6.2 and above, the raw option also causes the Update processor not to trim trailing attributes.

Example

update entity
In this form, the default list of attributes is obtained from the
'macro' attribute in the 'entity' file-defining item
located in the dictionary of the entity file.

update invoices customer.name invoice.date invoice.amount

This explicitly requests the three fields shown, regardless of the
'default' macro.

update entity (cil

Like the first example, but uses 'c' to clear the screen between each
item, 'i' to include the item-id of each item, and 'l' for
'look only.'

update entity id-prompt (cl
This is exactly the same as the previous example, but uses the
'id-prompt' modifier rather than the 'i' option.

See Also

Command Name Type Description
access.default.output.specifications Definition selects the default attribute-defining items in an access sentence when none are explicitly provided.
tcl.el Verb: Access Edits saved list using Update processor.
cruising Definition Searches local and/or remote indexes.
tcl.set-func.sco Verb: Access Sets PC keyboard for SCO/ATT/Unix.
dictionaries.as.operators Definition Description of using dictionaries as operators.
update.processor Definition a dictionary-driven, full-screen editor and data processor.
zooming Definition Zooms through a doorway to another file.
tcl.up Verb: Access Invokes the 'update' command.
editor.introduction Introductory The line-oriented editor.
tcl.speller-off Verb: Access Invokes 'speller' command with an 'f' option.
tcl.u Verb: Access Invokes the 'update' verb.
up.options.i Option Includes item-id in Update processor.
up.data-entry Modifier Automatically files at end of item and enters new item.
access.id-prompt Modifier Includes item-id in Update processor.
basic.debugger.edit Command Edits FlashBASIC source code.
tcl.account-maint Verb: Access Invokes account maintenance menu.
updte.processor Definition a dictionary-driven, full-screen editor and data processor.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.