2076| 2
|
如何在access数据库表单设置一个字段属性为是/否 |
1明经币
最佳答案MSDN手册:
Dim clx As ADOX.Column
Dim cat As ADOX.Catalog
Dim tblnam As ADOX.Table
clx.ParentCatalog = cat
clx.Type = DataTypeEnum.adBoolean
clx.Name = "IDField"
clx.Properties("AutoIncrement") = False
clx.Properties("Fixed Length") = True
clx.Properties("Jet OLEDB:AutoGenerate") = True
clx.Properties("Jet OLEDB:Allow Zero Length") = True
t ...
| ||
相关帖子 |
||
发表于 2012-8-31 11:25:31
|
显示全部楼层
| ||
| ||