access.with
Defines selection criteria in Access sentence.
Syntax
with {not} {each} attr.name {operator} {'value'}
Description
marks the beginning of a selection processor conditional, which is processed against the associated file to select items to pass on to the LIST processor.
The 'not' (or 'no') modifier negates the normal effect of selection -- only those item that do NOT meet the criteria are selected.
'value' is a specific value to match, enclosed in double quotes (') or backslashes (\). If a selection criterion does not include a value, all items that have at least one value for the specified attribute name are selected.
'every' (or 'each') specifies that in a multi-valued attribute, every value for the attribute must meet the specified condition.
'attr.name' is the name of an attribute as specified by the attribute-defining item in the dictionary.
'operator' is any legal relational operator, such as '='.
Example
list entity with contact
list entity with no contact and with phone
list invoices if amount.due > '100'
list entity if no phone.number
list entity with no contact and no phone.number
list orders if every quantity.ordered > '10'
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
