Solved

can i create a ndx index in a vb application?

Posted on 1998-03-22
2
196 Views
Last Modified: 2011-09-20
how can i create a .ndx index of a .dbf file (dbIII) in a vb5.0 application?
0
Comment
Question by:ninjanat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 100 total points
ID: 1459602
Now, I haven't tried this, but I've read that under DAO if you define the database in an opendatabase function as "DBASEII", then when you append an index to the indexes connection, it is supposed to know enough to creat both the index and the .inf file that associates the index to the .dbf.  There is no comparable function available for a pack, however.  You still have to use an outside program module for that.  

One of the most efficient methods for working with these functions should you find that you need to use and outside program is the DBLIB library for quick basic.  Rather than requiring a meg or more of program code to perform simple functions to pack and index, this library combined with the QBasic compiler made small, fast program code that could easily and quickly be shelled out to from VB to perform necessary functions for you.
0
 

Author Comment

by:ninjanat
ID: 1459603
i've tried the sql statement create index.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question