Information générale
Catégorie:
The Mere Mortals Framework
no, i say when the index is NOT created, the syntax is ok, but ramdomly the index is not created when my business object open it. where (method) is the best place to check the DelayedIndexes array?
>>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, does this mean that if there were a syntax error, it would be suppressed until CreateDelayedIndexes() fires? In other words, is it correct to say that for the most part, errors received in CreateDelayedIndexes() are more related to syntax? This is what it sounds like Francisco is getting.
>---J
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement