D
DStark
Hi! Is it possible to interate through table fields in an ADP? What
I'd like to do is:
Sub PrintTableFields()
Dim dbs As Object
Dim tbl As AccessObject
Dim fld As ????
Set dbs = Application.CurrentData
For Each tbl In dbs.AllTables
Debug.Print tbl .Name
For Each fld in tbl.????
Debug.Print " " & fld.Name
Next fld
Next tbl
I can't seem to get to the Fields collection of a table. Any help
would be greatly appreciated!
TIA,
DStark
I'd like to do is:
Sub PrintTableFields()
Dim dbs As Object
Dim tbl As AccessObject
Dim fld As ????
Set dbs = Application.CurrentData
For Each tbl In dbs.AllTables
Debug.Print tbl .Name
For Each fld in tbl.????
Debug.Print " " & fld.Name
Next fld
Next tbl
I can't seem to get to the Fields collection of a table. Any help
would be greatly appreciated!
TIA,
DStark