Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting the first record in a table.
Message
De
16/11/2000 21:58:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
16/11/2000 09:06:31
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00442587
Message ID:
00443022
Vues:
11
>Hi all,
>
>When I delete the first record in my client s table it should be erased.But when I close the form and then re-open it, the deleted record is still there.I check out code in delete method but it is right.And when I open the table that contains it, it has the delete mark.

A guess:
Your form, or framework, or whatever, has a GoTo 1 somewhere. You can GoTo a deleted record, and it will become the current record, regardless of its deleted() status. It is supposed that if you use the record's number to get to it, you really want that record for some reasons, and you get what you (supposedly) want.

Just find this line and replace it with a Locate (without any clauses), which will lead you to the first available record.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform