Environment versions
Network:
Windows 2003 Server
>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?
Hi,
I have a feeling this cannot be done, at least not so easy. And how about the other records, which sequence should they have?
In my opinion it is simpler to make use of the highlight property and mark the found record with a distinct backcolor. In case your customer insists, solve the sequence of the other records first and than:
1. add a sequence field (integer) to your cursor and an index to that field
2. the found field will have number 1 the others as you like
3. set order to iSequence
4. make use of the 'safe select' and repopulate the grid.
Feel free to report back if you need any assistance to the above.
Best regards,
Koen
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only