Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort data in the grid
Message
 
To
04/12/2001 16:33:47
Eugenijus Rimkus
SPAB Siauliu energija
Siauliai, Lithuania
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00589521
Message ID:
00589543
Views:
33
You can create an index on a view. See
Forum: Visual FoxPro Category: Databases,Tables, Views, Indexing and SQL syntax Title: Using a view Thread #585210 Message #585210
for info creating the index.

Then just something like :
SELECT MyView
SET ORDER TO MyIndex
THISFORM.REFRESH
in the click event of the grids header.

hth


>Hi!
>
>I use grid whose recordsource is alias from remote view. How I have to create function in the grid.columnX.headerX.DblClick which could sort my data by clicked column.
>
>Thanks
>Eugenijus Rimkus
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform