|
|
Topic complex |
Selecting |
Function |
esgibt() |
Short |
Operator of existence (out of time for EXISTS) |
Syntax |
ESGIBT(Selektion) |
Parameter |
selection : logical expression |
Return |
0 : is not true
1 : is true |
See also: |
|
Description |
At present this function only works with direct field accesses (e.g. at FINDANDMARK). It checkes if a statement (selection) is grentable for the actual record of the primary table.
Example:
There are two tables, BILL and ITEMS whereas the ITEMS are linked to the BILLS via a pair of keys.
FindAndMark(BILL,'esgibt($items.total>1000)') finds all records in BILL for which at least one linked record in ITEMS exists where the field 'total' has a bigger value than 1000.
|
Write a comment:
|
|
|