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: 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, 6:36 am This article has been viewed 35197 times.
|
|