Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Determining fields in current sort order 2000-05-11 -- Dennis Evans The following will return the fields for the key of the current sort
order.
The GetComponets method returns the number of fields and the GetFieldName
returns a string with the field name.
loop x = 1 to Self.Primary.Me.GetComponents(Self.Order.MainKey)
LocVar = Self.Primary.Me.GetFieldName(Self.Order.MainKey, x) ! get the name
do what ever with the LocVar
end ! loop
The Order property is a protected property from the ViewManager,
you will need to use an embed from the BrowseClass.
Or, if you are doing this from some type of control or are reacting to an
event etc... then drive the browse class and add a method, place the code
in the derived method and you will be able to access the protected
properties.
Today is November 21, 2024, 3:41 am This article has been viewed 35196 times.
|
|