Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Delete On Problem
Message
From
22/04/1998 00:25:10
 
 
To
21/04/1998 23:45:46
Yogi Kim
Yogi Kim Consulting
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00091997
Message ID:
00093895
Views:
29
Be careful on setting filters on indexes, especially primary and
candidate keys. The primary key has implication that it is
the only record with that key. If you have a ! DELETED() filter
on your primary key and delete a record then you have the
ability to add another record with the same key. If you
subsequently recall the first record you will receive an
error. Also if you linkage between this table and other
tables using the primary key this can distort your data and
audit trails.

The primary reason of not using filters on your indexes
is that they are no longer Rushmore optimizable.

-myron kirby-
==================================
>There's another heading you missed: Filter.
>
>
>Name       Type     Expression      Filter
>Itemkey  Primary    ItemKey        !DELETED()
>
>
>The !DELETED() command should go in the Filter column.
----------------------------------
-myron kirby (mkirby2000@gmail.com)-
Previous
Reply
Map
View

Click here to load this message in the networking platform