Resets the filtering criteria of the locate, so that the next time the view is refreshed, the locate defined in the task (or in the View Refresh) will be used.
|
Syntax:
|
LocateReset (generation)
|
Parameters:
|
generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.
|
Returns:
|
|
Note:
|
-
When this function is used to reset the locate criteria, then whenever the view is refreshed, the locate will be done only according to the task logic locate or the View Refresh criteria.
-
The function will reset the user locate of the Online Ctrl+L user ranges and also ranges added by the LocateAdd function.
|
See also:
|
LocateAdd
The Online and Rich Client Samples projects (program DV14 and RDV14)
|