Hi Hilmar
This is a regular delete logic and I get the app to reindex every month. Any way to bypass index corruption or at least be aware of if. My ON ERROR does catch FP error messages for index missing or corrupted and will reindex on the fly if required.
Any suggesstions
>Perhaps the index is corrupted. Try rebuilding it.
>
>>Hi all
>>
>>I have a function skel like below:
>>
>>
>>FUNCTION myFunc
>>
>> PARAMETERS myID
>>
>> SELECT myDBF
>> SET ORDER TO TAG myField
>>
>> = SEEK(myID)
>>
>> SCAN WHILE myDBF.myField = myID
>> SELECT myOtherDBF
>> *** myOtherDBF manipulation logic goes here
>>
>> SELECT myDBF
>> DELETE
>> ENDSCAN
>>
>>
>>This fails, what am I doing wrong. Just change the WHILE to FOR, though slower will never fail.