Hi,
I cannot get the following code to work
import win32com.client
import time
engine = win32com.client .Dispatch("DAO. DBEngine.36")
db=engine.OpenD atabase(r"testd ate2.mdb")
access = db.OpenRecordse t("select * from test")
access.AddNew()
access.Fields(" test").value=ti me.strptime('10 :00AM', '%I:%M%p')
access.Update()
wherer test is a datetime field,
How can I do this???????
-Ted
I cannot get the following code to work
import win32com.client
import time
engine = win32com.client .Dispatch("DAO. DBEngine.36")
db=engine.OpenD atabase(r"testd ate2.mdb")
access = db.OpenRecordse t("select * from test")
access.AddNew()
access.Fields(" test").value=ti me.strptime('10 :00AM', '%I:%M%p')
access.Update()
wherer test is a datetime field,
How can I do this???????
-Ted
Comment