Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recalling deleted records with tablebuffering
Message
 
À
10/07/1997 21:46:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039374
Message ID:
00039408
Vues:
28
>Hi
>
>I have table buffering enabled in a grid. If the user wishes to delete a record and then undelete it again, my primary key is violated.
>Is this a bug? I can't find any documentation anywhere.
>How can I workaround or trap this error?
>I am using VFP 3.0b.
>
>Many thanks
>
>John

This came form someone else but it may help in this situation:

In the primary key index of your table, you must put the filter !Deleted(). With the filter, it won't check the deleted records for unique key.

Hope this helps..
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform