Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paradox - Retrieving Fields That Make Up Index? 2

Status
Not open for further replies.

Robertio

Programmer
Oct 9, 2000
87
GB
Any suggestions on how to retrieve a list of the fields that make up the primary index on a paradox table?

All I need is the field names, but can't think of any way to do this.


Don't you just hate maintaining old systems, the subsequent version is in Oracle which makes life a whole lot easier.

Any ideas greatfully appreciated.

Cheers
Robertio
Alias: Robbie Calder
Software Developer
urc@walkermartyn.co.uk
 
Roberto,

Code:
Table1.IndexDefs[ 0 ].Fields
gives you a semi-colon separated list of fields in a Paradox table's primary key.

Hope this helps...

-- Lance
 
Thanks Lance, just what I was after Robertio
Alias: Robbie Calder
Software Developer
urc@walkermartyn.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top