I've got a tool i'm building, an HTA, that will open an Access database, list all of the tables and queries in it, and then based on user selection populate a list of fields in the table or query. The purpose is to provide a list of fields for a user to construct a simple SQL statement for use with another class I built for ASP page interaction for dummies (hahahaha).
Anywho, the only thing i'm really having trouble with is detecting if a field is required either some sort of key or any other way. I can get field name, field type, max size, etc, but not whether it is required or not.
I'm using an ADO Connection.
Any help would be appreciated!
Anywho, the only thing i'm really having trouble with is detecting if a field is required either some sort of key or any other way. I can get field name, field type, max size, etc, but not whether it is required or not.
I'm using an ADO Connection.
Any help would be appreciated!