Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why i cannot delete the records
Message
 
À
10/06/1998 02:36:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00105004
Message ID:
00106594
Vues:
29
>Hello Vladimir,
>
>Thank for your reply.
>
>I have already solved the problem of the Deletion.
>But it have created a new problem.
>As i deleted a invoice and i add a new invoice with the same invoice no. (deleted previous), an error will be occured. (Primary key is not unique). How can i fix this problem ?

What we do is we SET DELETED OFF before seeking the record using the primary key field. If found, we RECALL the record, else we do INSERTion, then SET DELETED ON again.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform