>Hello,
> I use the Visual Foxpro 3 to 6.
> How to code the grid box, so that when I click one of the column header, the records will be sorted base on that column?
> My friends suggest me to build index for each column on the cursor. Is it the only way? If the grid box have 12 column, will I build 12 index?
> Can I code this function on grid level rather than cursor level?
>Thanks. :D
>-Jasper
Hi Jasper,
An approach I use is to only add the index tag if necessary when the user clicks on the heading. Mostly the user only clicks on one or two in any one session so it saves a bit of time. I could send some code example if you wish.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only