Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Forms & Form designer
Hi Ryan
The cursor should be on the middle record. If not, it is because there is no record matching lcValue.
This is how I would do it...
SELECT POMast01
SET ORDER TO PurNO
IF SEEK(m.lcValue)
BROWSE
ENDIF
The browse will only happen if there is a match. Don't specify alias and index tag in the seek function, because the first two lines do it.
>hi to all,
>i had a problem with this seek command :
>
>Select pomast01
> Set Order To purno
> =Seek(lcvalue,'pomast01','purno')
>
>in this case i need to apply
>the browse command to view a records in my grid and the cursor is always in the last record
>
>Select pomast01
> Set Order To purno
> =Seek(lcvalue,'pomast01','purno')
>browse
>
>i set exact to on and near to off
>
>tia.
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