LeanneGodney
Technical User
Hi guys,
Is there an ADO equivalent to currentdb.tabledefs(1).fields(1).name?
I regularly try to get a list of the fields into a word document with:
For i = 0 To CurrentDb.TableDefs("tblTradesNTG").Fields.Count - 1
objWord.Selection.TypeText CurrentDb.TableDefs("tblTradesNTG").Fields(i).Name & Chr(13)
Next i
Is there an ADO equivalent to currentdb.tabledefs(1).fields(1).name?
I regularly try to get a list of the fields into a word document with:
For i = 0 To CurrentDb.TableDefs("tblTradesNTG").Fields.Count - 1
objWord.Selection.TypeText CurrentDb.TableDefs("tblTradesNTG").Fields(i).Name & Chr(13)
Next i