Subject: | Re: Get Index Fields
| Date: | 15 Jan 2024 10:35:48 -0400
| From: | "Kevin Zawicki" <numberjack@wi.rr.com>
| Newsgroups: | pnews.paradox-programming
|
enumFieldNamesInIndex
Syntax
1. (Paradox tables) enumFieldNamesInIndex ( [ const indexName String, ] var
fieldArray Array[ ] String ) Logical
2. (dBASE tables) enumFieldNamesInIndex ( [ const indexName String, [ const
tagName String, ] ]
var fieldArray Array[ ] String ) Logical
Description
enumFieldNamesInIndex fills an array named fieldArray with the names of the
fields in a table's index, as specified in indexName. You must declare fieldArray
as a resizeable array before calling this method. If fieldArray already exists,
this method overwrites it without asking for confirmation.
In a dBASE table, the argument tagName is required to specify an index tag
within an .MDX file.
By default, indexName corresponds to the index currently being used.
Peter <peterspammenot@whiteknight.email> wrote:
>I can get the name of the current sec index
>tcu.getIndexName(str)
>
>Is there a way to get the "field names" that make up the sec index?
>Thank you.
>
>Peter
|