Re: Descending index ?
- From: "Chris.Cheney" <Chris.CheneyXXNOSPAMXX@xxxxxxxxx>
- Date: Wed, 19 Sep 2007 15:55:58 GMT
"FrancoJommi" <franco.jommi@xxxxxx> wrote in news:46f129b3$0$37206
$4fafbaef@xxxxxxxxxxxxxxxxxxx:
I know how to add an index to my table:
Table1.AddIndex(MyIdx,aField,[],aField);
The 4th parameter tells the field in descending order.
I also know how to find indexes associated to a specific field:
for i := 0 to Table1.IndexDefs.Count - 1 do
if Tabl1e.IndexDefs.Items[i].Fields = Campo then
......
I can't find a way to know if the found index is ascending or descending.
This is my problem. Do you know how to do this ?
(I am obviously using the BDE..)
TIndexDefs.Options: ixDescending The index is in descending order.
.
- References:
- Descending index ?
- From: FrancoJommi
- Descending index ?
- Prev by Date: Descending index ?
- Next by Date: DLL of ActiveX GUID
- Previous by thread: Descending index ?
- Next by thread: DLL of ActiveX GUID
- Index(es):
Relevant Pages
|