Where to get index info for ADO dataset?

From: Bryan Dayton (bdayton_at_tpg.com.au)
Date: 08/26/04


Date: Thu, 26 Aug 2004 08:35:56 +1000

I've now switched to TBetterADO 4.04 and even though that product properly
populates TFieldDefs, neither TBetterADODataset nor Borland's own
TADODataset seem to populate TIndexDefs!?!

Programatically, how can I detect what is the primary key field for an ADO
dataset? Or if indeed, a table even has a primary key?... or any secondary
key(s)?

Bryan Dayton
Melbourne, Australia