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
Solved

can i create a ndx index in a vb application?

Posted on 1998-03-22
2
194 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

792 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