Francisco,
>the createdelayindexes run when the index is not created, why happen this?, and where is the best place for check this array?
The CDataEnvironment.CreateIndex() tells the data access object to create indexes on its associated data. If the creation of the index fails (for example, if a cursor is not USEd), it adds the index to the aDelayedIndexes array. At the bottom of KBizObj.Init() there is a call to CDataEnvironment.CreateDelayedIndexes() that attempts to create indexes that were not created earlier in the instantiation process.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com