Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table contains hidden record
Message
De
07/03/2003 18:06:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00762809
Message ID:
00763101
Vues:
16
>i have a table which contains has 82 records.
>
>but i only see the last record as 81.
>
>I am not even able to place the cursor onto the 82 nd record.
>
>Could you please tell me how can i eliminate this record number 82.
>Is there a way i can see it is a hidden record.

Let's say you have 81 records: reccount() = 81.

If you use GO BOTTOM on a table that has no index, isn't filtered, and has no deleted records, you are at the last record: recno() = 81, eof() = .F.

If you now SKIP, you are at record 82: recno() = 82, eof() = .T. This is a not-yet-existing record, AFTER the end of the table. This is quite usual for VFP and FoxPro.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform