Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 December 3, 2024, 11:53 am This article has been viewed 35213 times.
|
|