Domino returns TotalHits as one of the fields you can analyze. I also use
QueryMax as often I set the QueryMax to be less than 250 i.e. 100, and only
want the paged or grouped results to display up to 100, so I use the formula
@If(QueryMax<TotalHits;QueryMax;TotalHits) for displaying results, and use
iHitNum := @Min(TotalHits; QuerMax);
if using the syntax as provided by John Smart earlier in this thread.
Domino returns TotalHits as one of the fields you can analyze. I also use QueryMax as often I set the QueryMax to be less than 250 i.e. 100, and only want the paged or grouped results to display up to 100, so I use the formula @If(QueryMax<TotalHits;QueryMax;TotalHits) for displaying results, and use
iHitNum := @Min(TotalHits; QuerMax);
if using the syntax as provided by John Smart earlier in this thread.
tq