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:
01523839
Views:
57
>>>>>>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?
>>>>>
>>>>>See this
>>>>>Re: Position of Child Form Record Thread #1061639 Message #1062503
>>>>
>>>>I can see what you are trying to do but which grid procedure do i put the code in?
>>>
>>>I have a separate method for this called LocateRecordOnTop. Then you can call this method of the grid after search.
>>>
>>>See also the whole thread I quoted.
>>
>>I cant see how to make this work but thanks for your help
>>
>>Colin
>
>What do you mean you don't see? It does not have to be a grid's method, you can put this code right after LOCATE with full references of the grid.

BTH - my solution was as follows

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