Solved

Delphi, MS Access & Multiple Indexes

Posted on 2002-04-04
1
227 Views
Last Modified: 2010-04-04
I have a Delphi App using ADO and MS ACCESS. In the MS ACCESS DB, I created a table which has a multifield index (two fields).

I was wondering how I get the two fields to index in my Delphi Application. It is only indexing on the first of the two fields.

IELite
0
Comment
Question by:shaneholmes
1 Comment
 
LVL 44

Accepted Solution

by:
CrazyOne earned 50 total points
ID: 6919833
I don't know which ADO components you are using. I am using DearSoft and it has a "Sort" property. I built a table with these field names

a  b  c  d  e  f  g

I enter data so I had 5 records. I then went to the "Sort" properties of the ADO Table component and entered this

b,c

and the results where sorted appropriately for my test.



The Crazy One
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 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