In MapInfo 6.0, which is the version I have for testing, it will give you an error if you try and index more than 29 columns. I ran my code with only allowing 29 indexes and created a table with 43 columns in it just fine. Then I opened it in MapInfo and everything was OK but when I tried to add one more index MapInfo gave me an error saying it couldn't access the index file. So it is probably part of the file spec for .Tab files that the .ind can't have more than 29 indexed columns. I will just tell that to my users and they can decide which 29 fields they want indexed. It should satisfy them just fine so long as I have all the info in them. The big problem for me was I needed to have all 43 columns. Searchability of them would be nice but it isn't required. Andy
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Morissette Sent: Wednesday, January 04, 2006 10:49 AM To: [email protected] Subject: Re: [mitab] 29 columns error? Canfield, Andrew wrote: > I found what it is and it's by design not a bug (line 752 of > mitab_indfile.cpp). I need to index all 50 columns and the dataset can only > contain 29 indexes. I will just have to tell my users that only the first 29 > fields are searchable. I see the comments in the code about the 29 indexes limit, there must have been a good reason why I put that there at the time but I don't remember. Do you know if MapInfo will let you create more than 29 indexes? Daniel Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/mitab/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
