如何使用createfield建立autonumber类型.txt
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· 文本 代码 · 共 10 行
TXT
10 行
可 以 这 样 :
Set fld = gtdfTableDef.CreateField()
'fill the field structure
With fld
.Name = txtFieldName.TEXT
.Type = dbLong
.Size = txtFieldSize.TEXT
.Attributes = .Attributes Or dbAutoIncrField
End With
<END>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?