Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recalling deleted records with tablebuffering
Message
From
13/07/1997 17:07:22
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00039374
Message ID:
00039784
Views:
31
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform