Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using eof()
Message
De
06/12/2005 10:12:07
 
 
À
06/12/2005 10:04:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01075287
Message ID:
01075306
Vues:
15
Terry

Thanks for the help. I got it to work using the two conditionals: if not eof() and if eof().

Gaylen



>>Terry
>>
>>What is the code in the cmdNext button? The previous button works fine.
>
>Select ( thisform.cpAlias)
>If not EOF()
>    Skip 1
>    If EOF()
>	go BOTTOM
>	This.Enabled		  = .F.
>	This.Parent.cmdLast.Enabled	  = .F.
>    Endif
>    With This.Parent
>      .cmdPrev.Enabled		  = .T.
>      .cmdFirst.Enabled		  = .T.
>    EndWith
>EndIf not EOF()
>Thisform.Refresh
>
>
>Regards
>
>Terry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform