ADO Unique values Field

ADO Unique values Field

Anonymous
Not applicable
389 Views
1 Reply
Message 1 of 2

ADO Unique values Field

Anonymous
Not applicable
Hi there all,

Does anyone know how to identify if a ADO recordset field has the property "no duplicates allowed"? (or which combination of properties)

I Use the reference activex data objects 2.8 library, with Autocad 2006/2007 and I read the recordset from a MS Access database.

Any help/advise?

A Caddie.
0 Likes
390 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Caddie,

With ADO 2.8 you can check to see if your Attributes property exposes the adFldIsNullable enum. If so then you'll know the Field accepts null values.

G'Luck

Bob Coward
0 Likes