pjohns
8th February 2002, 12:28
Hi,

What is the field actual.occ used for? Is it an identifier for each line on a display session?

Thanks

PJ

tsanchez
8th February 2002, 12:40
Hello PJ, "actual.occ" is a predefined variable which takes
the value of the current occurrence. Remember "actual.occ"
can't be modified but read and so it's used to check which
occurrence within a multioccurrence has been selected.

You could also switch to another occurrence if needed,
effectively changing the value of "actual.occ" to the new
one, using the "mark.occ" 4GL function.

Tomas Sanchez Tejero
deckard@encomix.es

evesely
8th February 2002, 16:05
You can also use the actual.occ value in a do.occ() call to execute a functon only on a particular occurence. For example:
do.occ(actual.occ, "foo")
...
function foo()