Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recalling deleted records with tablebuffering
Message
De
13/07/1997 17:07:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039374
Message ID:
00039784
Vues:
29
>>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..


I have done this.
The problem only occurs with table buffering and when the user recalls a deleted record which is still currently visible on the screen.

Thanks

John
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform