Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek Problem
Message
De
04/09/2003 04:28:04
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
04/09/2003 02:23:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00825901
Message ID:
00825912
Vues:
13
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
Fil
Voir

Click here to load this message in the networking platform