Subject Re: Error Code 239 IDAPI error
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Thu, 19 Oct 2023 17:52:33 +0530
Newsgroups dbase.getting-started

Good Evening Michael,

> I've tried the settings, the first time I ran it it went 3 hours before it seemed to lose the tables, they just dropped out not tables open in area 0. The second time it lasted only 30 minutes.

Is there a timer running in the code?
I am using plus 12.31 and the code runs for approx 10 hours a day
without any issue.

At the same time another program running timers gives issues
periodically if minimised and restored.

Since It runs in the background without any user intervention so did not
go through the hassle of finding the root cause

>
> The other effect I have noticed is that the index files are completely screwed, gone, destroyed.and that out of the file i am only reading data from. It makes no sense.

The first thing I would recommend is that you should rebuild the indexes
and then createIndex.prg of duflp.

It will create a program for recreating indexes.
This will ease issue of recreating indexes in future.
Recreating them manually is a pain.

Regards
Akshat