H
HantzBeta
Guest
Hi people,
AFAIK the ADO field object attributes property consists of a sum of constants such as adFldRowID. My problem is that i want to discover whether a field in my table is a primary key or not. But with nearly every of my tables i get returned another value from Fields(x).Attributes.
I dont know anything about resolving those enumerations. Perhaps its even impossible to get back the single values that form the sum, but there must be an easy way to determine the primary key fields of a table!
Anyone who can help?
Greets,
HantzBeta
AFAIK the ADO field object attributes property consists of a sum of constants such as adFldRowID. My problem is that i want to discover whether a field in my table is a primary key or not. But with nearly every of my tables i get returned another value from Fields(x).Attributes.
I dont know anything about resolving those enumerations. Perhaps its even impossible to get back the single values that form the sum, but there must be an easy way to determine the primary key fields of a table!
Anyone who can help?
Greets,
HantzBeta