Dim NQ As Database
Dim tdf As TableDef
Set NQ = OpenDatabase("mypath\NQ.mdb"
Set tdf = NQ.TableDefs!ECLR200D
tdf.Fields.Append tdf.CreateField("InputDate", dbDate)
tdf.Fields.Append tdf.CreateField("CompletedDate", dbDate)
NQ.Close
This no longer works since we upgraded to Access2000 from Access97. Do someone have example code in ADO or other DAO code that still works to accomplish this? Thanks, Dan.
Dim tdf As TableDef
Set NQ = OpenDatabase("mypath\NQ.mdb"
Set tdf = NQ.TableDefs!ECLR200D
tdf.Fields.Append tdf.CreateField("InputDate", dbDate)
tdf.Fields.Append tdf.CreateField("CompletedDate", dbDate)
NQ.Close
This no longer works since we upgraded to Access2000 from Access97. Do someone have example code in ADO or other DAO code that still works to accomplish this? Thanks, Dan.