Re: Descending index ?



"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.
.



Relevant Pages

  • Looking fro right LOOKUP formula. Who is the formula expert???
    ... I have a list of values NOT in ascending or descending order. ... looking for a formula that looks for the first cell in the list above ... The Lookup formula ...
    (microsoft.public.excel)
  • Re: how to switch document list from zyx to abc order?
    ... Double clicking on the column header for 'Name' should reverse the direction. ... Upon opening "my documents" I discovered the file list reversed from ... ascending to descending order. ...
    (microsoft.public.word.docmanagement)
  • Re: integers into strings
    ... no im not converting the inputted number into a string im sorting the ... digits of the value into ascending and descending order and then making ...
    (comp.lang.ada)
  • Re: How can I sort a list of numbers by the last 4 digits?
    ... One method is to insert a dummy column with formula =right ... Then use the sort function to sort the dummy column in ascending or ... descending order. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Stupid Newsreader Question
    ... That unthreads everything then just click on the Sent column to sort by date ... in ascending or descending order. ...
    (rec.pets.dogs.behavior)