`
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. Printed November 21, 2024, 12:51 pm This article has been viewed/printed 35204 times. |