Solved

can i create a ndx index in a vb application?

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now