Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the order of a cursor
Message
From
10/11/2005 11:38:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01067195
Message ID:
01067206
Views:
12
>>I have a grid which is populated from a cursor. I have an option group in which I want to change the sort order of the records in the grid. Do I have to run the query again and change the order by statement and then refresh the grid or can I change the order without doing this?
>>
>>Many Thanks
>
>What kind of cursor it is? If this is a result of select statement from native VFP database, you need to add READWRITE option to your select code. Then you would be able to index it on the fly.
>
>If this is a different kind of cursor, you need to have a separate cursor for your grid created with CREATE CURSOR command. This cursor allows you to index it.

Naomi,
I don't know of a cursor type that I can't index.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform