Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dang that grid- won't change index order
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00652648
Message ID:
00652655
Views:
19
There's Sortable grid sample file #9970 in the download section.
BTW, It's much easier and convenient to use structural index with multiple tags instead of separate index files.

>Dear all,
>
>I created a form which contains a grid uses personel.dat as it's recordsource indexed as:
>
>
>I love binding the table to the grid because the user can change records in rows and columns and the data is updated to the table immediately.
>
>However, I would like to have the user click on "Last Name" and have the grid display the data in last name order... my CLICK event (form.grid.column1.header1.click) looks like this:
>
>* index on last name
>SELECT personel
>SET order to 1
>GO TOP
>pplmain.tabs.browse.browseview.refresh()
>
>Well, nothing happens! If I halt the form and issue a standard BROWSE the data appears in the correct index order... but nothing ever changes on the form.
>
>Any ideas? Sorry if this has been asked a billion times but I couldn't find the answer...
>
>TIA!
>
>Bryan Friberg
>Adams 12 School District Webmaster
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform