Im trying to programmatically create a MS access column as a YESNO data type. Is there a SQL statement or property I have to set to have the display control be set to a checkbox instead of a text box, which it defaults to? When this gets set it turns to a -1 and I cant have that. Thanks
CString strWork;
strWork.Format("ALTER TABLE [myTable] ADD COLUMN [myColumn] YESNO");
m_pDatabase->ExecuteSQL (strWork);