Hi All,
I'm trying to sort the table descending. The problem is that the table is the answer table generated from the query and i don't know how to specify secondary index.
I tried this:
rptQuery = Query
ANSWER:
rivate
etail2.DB
ata
ETAIL.DB | Lot Id | Customer No |
| Check | Check ~(customer_no) |
EndQuery
if rptQuery.executeQbe("
rivate
etail2.DB"
then
tbCust.attach("
rivate
etail2.db"
INDEX tbCust
DESCENDING
MAINTAINED
ON "Lot ID"
ENDINDEX
endif
This gives me the table with secondary index "Lot ID" sorting descending, but when I create report with this table I cannot assign this index in the format\filter. Paradox shows this index there, but doesn't allow me to choose it. What am I doing wrong?
Thank you.
I'm trying to sort the table descending. The problem is that the table is the answer table generated from the query and i don't know how to specify secondary index.
I tried this:
rptQuery = Query
ANSWER:
| Check | Check ~(customer_no) |
EndQuery
if rptQuery.executeQbe("
tbCust.attach("
INDEX tbCust
DESCENDING
MAINTAINED
ON "Lot ID"
ENDINDEX
endif
This gives me the table with secondary index "Lot ID" sorting descending, but when I create report with this table I cannot assign this index in the format\filter. Paradox shows this index there, but doesn't allow me to choose it. What am I doing wrong?
Thank you.