tcl.qselect

Verb: Access/TCL, Releases: AP and R83

Creates active list from item(s).

Syntax

qselect file.reference {itemlist*} {(attr.ref)}

Description

creates a list from the specified 'file.reference' and itemlist*, similar to the 'get-list' command.

The list is constructed from the attributes specified by 'attr.ref' (attribute name or number) in an item (or list of items) specified by 'itemlist*'. Each attribute, value and subvalue becomes a single attribute value in the list.

If no 'attr.ref' is specified, all attributes are used.

Example

qselect invoice-file s12345 (5

This builds a list from the multi-values stored in attribute 5 of the item-id
's12345' from the 'invoice-file'.

qselect dict ap.doc 'desc'

This constructs a list out of the 'desc' attribute-defining item in
the dictionary of the 'ap.doc' file.

See Also

Command Name Type Description
access.attr.name Attribute Defining Item Specifies item(s) from the dictionary of the file.
tcl.itemlist* Definition Specifies list of item-ids for TCL2 processes.
tcl.copy Verb: Access Copies items to output devices or between files.
runoff.readnext Command Gets next item-id from active list.
op.readnext Command Reads data from active list.
access.select Verb: Access Creates list of items meeting specific criteria.
access.sselect Verb: Access Creates sorted list of items meeting specific criteria.
tcl.save-list Verb: Access Saves active list.
tcl.delete-list Verb: Access Deletes previously saved lists.
tcl.el Verb: Access Edits saved list using Update processor.
tcl.edit-list Verb: Access Edits saved list using line editor.
tcl.get-list Verb: Access Retrieves previously saved list.
access.nselect Verb: Access Performs 'not' select - only items not there.

User Comments

What do you think?

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

Login to leave your comments.