Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted key in database prevents APPEND
Message
From
15/10/2002 01:17:30
 
 
To
14/10/2002 16:37:20
William Sherman
Allegheny County Bar Association
Elizabeth, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00711113
Message ID:
00711212
Views:
8
>I have a database in a pricing app. SET DELETED is ON. There are various child records in three related files to the the primary key file in file Primex. When a record is deleted in file Primex and then a subsequent APPEND BLANK is used to append a new record I get the message 'Uniqueness of index file is violated'...how should I handle this ? Packing is a problem in the shared multiuser environment.
>Appreciate any help...Thanks,

My personal preference is to not reuse primary keys for this reason, but it's doable.

You can put a !DELETED() filter on your primary key index.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform