` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 7, 2024, 3:17 am
This article has been viewed 35113 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: