Is there a patch or service pack which allows Foxpro to actually optimize
local views based on a table whose PRIMARY key is a CONCATENATION of two
fields?? For example:
The table has the following indexes:
Index1: FIELD1 + FIELD2 (primary)
Index2: FIELD1 (regular)
Index3: FIELD2 (regular)
set the KeyFieldList property of the view to FIELD1, FIELD2
set the SendUpdates property to .T.
use the view
turn on Foxpro's optimizing feedback feature (using SYS(3054), I believe).
change a row, then move off ot if (or issue a TABLEUPDATE if you want).
You will see Foxpro is making use of the Index2 and Index3, but not Index1.
Why isn't it using index1? I know you might say that the primary key should
consist of just one field, but for the sake of arguement, let's just say
that it has to consist of two. What then??