Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty record for simple NEXT click method
Message
De
03/03/2003 01:19:07
 
 
À
03/03/2003 01:12:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00760254
Message ID:
00760255
Vues:
18
Evelyn, your test for not EOF() returns .F. when you are on the last record of your file. Since it returns .F. your code then executes the SKIP command which then does position you past the end of the file. Then you get a blank record. You should change the code to be:
IF !EOF()
  SKIP
ENDIF

IF EOF()
  GO BOTTOM
ENDIF
>i have this click method in my button cmdNext.
>
>IF !EOF()
>SKIP
>ELSE
>GO BOTTOM
>ENDIF
>Thisform.Refresh()
>
>why does foxpro shows an empty record when NEXT button encounters EOF()? i checked my table and there is no empty record.
>
>any help pls?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform