B
Bo Hansson
Using CreateField Method(DAO) I want to create new Acess tables from Word
VBA code, see following example
Set dbsDB = OpenDatabase(myDataBase)
Set tdf = dbsDB.CreateTableDef(myTable)
With tdf
tdf.Fields.Append .CreateField("Name", dbText, 50)
...and so on
This works fine, but how do I create a field containing a counter ?
/BosseH
VBA code, see following example
Set dbsDB = OpenDatabase(myDataBase)
Set tdf = dbsDB.CreateTableDef(myTable)
With tdf
tdf.Fields.Append .CreateField("Name", dbText, 50)
...and so on
This works fine, but how do I create a field containing a counter ?
/BosseH