Hi all,
I am new to VB2005 and need help.
I have some data in dbf and I need to find some records in them. How do I set indexes for this files.
Many thanks
Regards
Trivun
Hi all,
I am new to VB2005 and need help.
I have some data in dbf and I need to find some records in them. How do I set indexes for this files.
Many thanks
Regards
Trivun
dbf index in vb2005
daviesl
Hi Trivun,
Although there is more than one program that creates DBF files, I'll assume your DBFs are FoxPro DBFs. There are two types of indexes for FoxPro DBFs. One will have an IDX extension and the other will have a CDX extension. The IDX indexes are seldom used any more so I'll assume you have a CDX file with the same name as the table you want to access.
The FoxPro data engine will automatically make use of any indexes that are appropriate depending on the expressions in the Join or Where clauses of your SQL statement.
Can you give more details about your situation