Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: ADOX and Access' field "Required" property


Message #1 by jrbullo@s... on Fri, 26 Jul 2002 19:52:01
Hi,

When you are creating MDB table with ADOX, you have to set Field's Attribute
property as "adColNullable" for the "Not Required" field. Default attribute
value is "adColFixed" which generates "Required" Field.
I can send you some sample code if you need.

Futuh

----- Original Message From: <jrbullo@s...>
I am writing a program to create that, among other things, Access 2000
database with a single table using ADOX.  My problem is that ADOX creates
 all of the columns as "Required".

 Does anyone know how to change this behavior?

 The "Required" property (see Access' table design dialog, General tab) is
 not an ADOX Column object property nor is it in the Column's Properties
 collection.



  Return to Index