Please help: Connecting Microsoft Access Database (DAO)

Thomas Keil t.keil at zvs.zgs.de
Wed Feb 16 17:52:24 EST 2000


Hello,

does anyone know how to get a Report from an Access Database?

"
 import win32com.client
 engine=win32com.client.Dispatch("DAO.DBEngine.36")
 db=engine.OpenDatabase(r'foo.mdb')
 rs=db.OpenRecordset('bar')
"

'bar' is a report; it needs two values: "first date" and "second date". 

Thanks for any help.

Th. Keil    mailto: t.keil at zvs.zgs.de



More information about the Python-list mailing list