Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread D2006 & corruption
Thu, Jun 8 2006 8:44 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

I don't know if its just what I'm doing in this particular case but.....

Writing a small app to convert a load of data I copied off the web. The data obtained by cut'n'paste resides in a memo field in a table. I'm analysing and deduping it into another table. During the process I'm crashing the app lots either via resetting the program in the IDE or via typos (eg field name not found).

What I have found is that the table is corrupting far more often than I'm used to in these circumstances, at least when I was using D6.

Both tables are opened exclusive.

Anyone else seeing this sort of thing?

It might just be be and this particular app!

Roy Lambert
Thu, Jun 8 2006 8:49 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Just tried with FlushBuffers after each post and its slooow but fine.

The error I'm getting BTW is 8961 headers corrupt.

Roy Lambert
Thu, Jun 8 2006 10:20 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Both tables are opened exclusive. >>

Exclusively-opened tables will corrupt very easily if you kill the process
because the buffers will get flushed to disk occasionally, but not the
header.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jun 8 2006 11:39 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


That explains it then - I rarely open tables exclusively - in this case I did since I want to EmptyTable.

Roy Lambert
Fri, Jun 9 2006 10:54 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< That explains it then - I rarely open tables exclusively - in this case I
did since I want to EmptyTable. >>

Just do the EmptyTable, and then open the table normally.  You don't need to
explicitly set Exclusive:=True to use EmptyTable.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image