` Override a Range at runtime (Dennis Evans ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

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 April 19, 2024, 11:54 pm
This article has been viewed 35111 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: