>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