>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only