Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delay index nice to meet you
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00543091
Message ID:
00544296
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform