Tom,

One way is to base the DBGrid on a temporary  table with the proper sort.  I
use this method throughout my applications.

 

1.) Create a temp table with no rows.  (I use a project command whe limit =
0)

2.) Insert the data into the temp table in sorted order (you can sort any
number of columns)

3.) PROPERTY TABLE <FORMTABLENAME> 'REFRESH'

 

If you need an example, let me know.

 

John

 

From: [email protected] [mailto:[email protected]] On Behalf Of TOM HART
Sent: Monday, December 22, 2008 3:09 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Sorting columns in a DBGrid

 

I have a DBGrid with several columns and I know I can click on a column to
sort it, but is there a way, with property command, to sort by more than one
column.

Tom Hart

Reply via email to