Field List

  • Thread starter Thread starter Guest
  • Start date Start date
Using DAO, something like:

Dim tdfCurr As DAO.TableDef
Dim fldCurr As DAO.Field

Set tdfCurr = CurrentDb().TablesDefs("MyTable")
For Each fldCurr In tdfCurr.Fields
Debug.Print fldCurr.Name
Next fldCurr

You can also use ADOX, but I'm afraid I don't have a sample handy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top