Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Search
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01523725
Message ID:
01523838
Views:
34
>>>>Hi
>>>>
>>>>I have a grid whose data is a cursor - I search the grid by client and the search works OK
>>>>
>>>>How do I make the record I have found become the top record in the grid?
>>>
>>>Add another field to the cursor called toprecord. When creating the cursor, set toprecord to "9" for all records.
>>>
>>>Index the cursor on toprecord + clientname (or whatever).
>>>
>>>Once you determine which record should be on top, set toprecord = 1 for that record and refresh the grid.
>>
>>Thanks for your help - in the end I decided to rewrite the app and display the data another way
>
>Since you copied me on your reply to Bill, can you summarize how you rewrote it? This is a learning forum as well as an answer forum.

Yes - I did the search - copied all the records from the one the search found to a different table and then showed this table in the grid

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform