The complex query is executed exactly if the variable PSC_FRM_REC_RFR is set to TOP:=n SUB:=n, or, independently of this, if
- the dialog has not been filled in yet,
- a filter is active,
- no loaded record is selected,
- one of the search conditions has been modified in the Quickfinder since the data was last loaded, or
- the last database access was a count call.
This means that the complex query is performed only if there is a reason for it. Otherwise, only the currently selected records are refreshed in the mask concerned, i.e. without taking the search entries into account.
Tip: If you want to ensure that a new and complete search is carried out in a form or in a list with selected data records when loading, please “Count” before loading so that a search is carried out.