Yes - that will work, but only if I have the particular column sorted and focused, right? But say I want the user to freely sort a column by clicking the column title, let them have the freedom to then move around the grid, and then possibly perform an operation via an eep (such as print a report) that requires the name of the column that is sorted, regardless of focus?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak Memon Sent: Tuesday, July 15, 2014 6:42 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Capturing the name of sorted column in a EnhDB Grid At 06:40 AM 7/15/2014, Richardson, Jeff wrote: >Is there a way to capture the column name of the column that is sorted >within an Enhanced DB Grid? After clicking the title of the grid column >it sorts and I'd like to capture the column name in a variable. I >looked at the system variables and getproperty references, but I'm not >seeing what I'm looking for. Does anyone have a solution? Jeff, Here's how ... GETPROPERTY <EnhncedDBGrid> CURRENTCOLUMNNAME 'value' Using the GETPROPERTY command, CURRENTCOLUMNNME captures the name of currently focused column in DB Grid. Hope that helps! Very Best R:egards, Razzak. www.rbase.com www.facebook.com/rbase -- 31 years of continuous innovation! 16 Years of R:BASE Technologies, Inc. making R:BASE what it is today! --

