Geoff Codd
Registered User.
- Local time
- Today, 17:43
- Joined
- Mar 6, 2002
- Messages
- 190
I apologise if I am being stupid, but this is the first time I have triend tis and I can't get it to work
Sub CreateTableTestTable()
Dim dbs As Database
Set dbs = OpenDatabase("C:\Program Files\em\EM_UoM_ENRep.mdb")
dbs.Execute "CREATE TABLE TestTable" _
& "(Mnemonic CHAR, Date DATETIME," _
& "Time DATETIME, Value DOUBLE," _
& "CONSTRAINT TestTableConstraint UNIQUE" _
& "(Mnemonic, Date, Time));"
dbs.Close
End Sub
All help appreciated
thanks
geoff
Sub CreateTableTestTable()
Dim dbs As Database
Set dbs = OpenDatabase("C:\Program Files\em\EM_UoM_ENRep.mdb")
dbs.Execute "CREATE TABLE TestTable" _
& "(Mnemonic CHAR, Date DATETIME," _
& "Time DATETIME, Value DOUBLE," _
& "CONSTRAINT TestTableConstraint UNIQUE" _
& "(Mnemonic, Date, Time));"
dbs.Close
End Sub
All help appreciated
thanks
geoff