BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Corrupt" Paradox tables when using secondary index

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Mike Ruskai
Guest





PostPosted: Thu Nov 30, 2006 12:43 am    Post subject: "Corrupt" Paradox tables when using secondary index Reply with quote



I have a 170MB table with a 16K block size, and 230K+ records. This
is only an example table, however, since it can be reproduced with 20
other tables that vary in size, but not definition.

The problem is that using a secondary index to determine display order
in a BCB app (TDataGrid via TTable) causes the infamous "Corrupt file
- other than header." error message.

Let me be clear at this point that the table is manifestly not
corrupt. This is a spurious error.

The secondary index is compound, where three fields will always
contain data, and one (a string field) may be empty or NULL.

If I recreate the index using only three fields (leaving out the one
that can be empty), the problem does not appear.

This is not an ideal workaround, of course, because the records may be
out of order.

Is this a known bug, and are there any more correct workarounds (i.e.
that allow a complete secondary index with empty values)?
--
- Mike

Ignore the Python in me to send e-mail.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.