Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement