C
Can
I want to do up some documentation for the fields in a table. I was going
to use this example as a guide. I want two of my fields in my documentation
table )if it is a combo box) to be the value list and whether the field is
limited to list.
How do I do this?
http://www.tek-tips.com/viewthread.cfm?qid=1244914&page=8
Sample of code:
For Each tdf In db.TableDefs
If (tdf.Attributes And dbSystemObject) = 0 Then
strName = tdf.Name
If strName <> "AA_Tables" Then
For Each fld In tdf.Fields
With rs
.AddNew
!tablename = strName
!FieldName = fld.Name
!fieldType = FieldTypeName(fld)
!FieldSize = fld.Size
!fieldDescription = GetDescrip(fld)
.Update
End With
Next
End If
End If
Next
to use this example as a guide. I want two of my fields in my documentation
table )if it is a combo box) to be the value list and whether the field is
limited to list.
How do I do this?
http://www.tek-tips.com/viewthread.cfm?qid=1244914&page=8
Sample of code:
For Each tdf In db.TableDefs
If (tdf.Attributes And dbSystemObject) = 0 Then
strName = tdf.Name
If strName <> "AA_Tables" Then
For Each fld In tdf.Fields
With rs
.AddNew
!tablename = strName
!FieldName = fld.Name
!fieldType = FieldTypeName(fld)
!FieldSize = fld.Size
!fieldDescription = GetDescrip(fld)
.Update
End With
Next
End If
End If
Next