Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty record for simple NEXT click method
Message
De
05/03/2003 20:53:03
 
 
À
03/03/2003 06:24:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00760254
Message ID:
00761906
Vues:
25
EOF() and BOF() return .T. whenever you try to move *beyond* the end or beginning of the file (depending on the direction). So if you're on the last record, you won't get EOF() until you attempt to SKIP -- leaving you at a "phantom" record at RECCOUNT()+1. Likewise, if you're on the first record, you won't get a BOF() until you try SKIP -1 -- though in this case you're still on RECNO()=1. EOF() does give you what you might expect when the table is empty (it returns .T.).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform