Creating Yes/No field format programatically

  • Thread starter Thread starter JonWayne
  • Start date Start date
J

JonWayne

If you programatically create a field object for a table, how do you set the
field's type to Yes/No?
 
How are you programmatically creating the field? Using the DAO CreateField
method, you'd use dbBoolean as the type. Using the DDL (ADD COLUMN), you'd
use YESNO. Using the Append method of the Columns collection in ADOX, you'd
use adBoolean.
 
Using DAO. I have been using dbBoolean but I get a textbox instead of a
checkbox as the control. How do I make it appear as a checkbox?
 
Back
Top