Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Reindex a FoxPro Table by SQL command

 
   Database Help (Home) -> Visual Basic -> ODBC RSS
Next:  odbc call fails from .net  
Author Message
François Reid

External


Since: Apr 20, 2004
Posts: 1



(Msg. 1) Posted: Tue Apr 20, 2004 2:43 pm
Post subject: Reindex a FoxPro Table by SQL command
Archived from groups: microsoft>public>vb>database>odbc (more info?)

I am using an ADO object to access a FoxPro table (DBF file).

The problem is when I insert new records in the table, the indexs of
the table are not reajusted. I expect that I must recreate or rebuild
the indexs but neither drop index and create index queries work.

Any advice??

P.S. If I can't post this kind of question in this news group please
tell me in witch news group I should post my question.

Thx

 >> Stay informed about: Reindex a FoxPro Table by SQL command 
Back to top
Login to vote
Cindy Winegarden

External


Since: Oct 02, 2003
Posts: 32



(Msg. 2) Posted: Wed Apr 21, 2004 2:04 pm
Post subject: Re: Reindex a FoxPro Table by SQL command [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In news: i8ha80t22qirkir0467n3sq7j55f5lqd8a.DeleteThis@4ax.com,
François Reid <freid.DeleteThis@construire.com> wrote:
 > I am using an ADO object to access a FoxPro table (DBF file).
 >
 > The problem is when I insert new records in the table, the indexs of
 > the table are not reajusted. I expect that I must recreate or rebuild
 > the indexs but neither drop index and create index queries work.
 >
 > Any advice??
 >
 > P.S. If I can't post this kind of question in this news group please
 > tell me in witch news group I should post my question.

Hi François,

The Visual FoxPro Reindex command is not suported by either the ODBC driver
or OLE DB data provider. FoxPro's CDX index files will automatically keep
themselves up-to-date while the older (and now seldom used) IDX files will
not.

Do you know which version of FoxPro your tables were created with? Is there
a CDX file present with the same name as the table?

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden.DeleteThis@mvps.org <a style='text-decoration: underline;' href="http://www.cindywinegarden.com" target="_blank">www.cindywinegarden.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Reindex a FoxPro Table by SQL command 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> Visual Basic -> ODBC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]