Finding the primary key using VBA
- From: mark_aok <mark_aok@xxxxxxxxxxx>
- Date: Wed, 18 Jul 2007 19:10:36 -0000
I need to determine the name of the primary key in a table, but this
must be done using VBA.
I was looking for something like,
for each field in someRecordset.fields
if field.type="primaryKey" then
Does anyone know if a property exists for primary key??