Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Override a Range at runtime 2002-05-31 -- Dennis Evans > Is it possible to override a range set on a browse list? I want to
> display all records in a list for only a "super user" but all other users
> see only the ranged list.
In the ApplyRange method, before the parent call,
if (condition = super user)
Self.Order.LimitType = Limit:None
else
Self.Order.LimitType = Limit:Single/Current or what ever
end
put(Self.Order)
That will shut the range limit on/off for the current sort order. If you
have multiple sort orders and want various results you will need to test for
what sort is currently active.
Today is November 21, 2024, 8:02 am This article has been viewed 35204 times.
|
|