Closed blumf closed 8 years ago
A new way of using the env.connect method, providing a table of options.
In this case, the old method can now be used as: env.connect{ user = "foo", password = "bar", source = "My DB DSN from odbcad32" }
But also, a DSN can be provided: env.connect{ dsn = [[DRIVER={Microsoft Access Driver (.mdb, .accdb)};PWD=bar;DBQ=C:\path\my_db.mdb]] }
See new pull #54 using minimal changeset
A new way of using the env.connect method, providing a table of options.
In this case, the old method can now be used as: env.connect{ user = "foo", password = "bar", source = "My DB DSN from odbcad32" }
But also, a DSN can be provided: env.connect{ dsn = [[DRIVER={Microsoft Access Driver (.mdb, .accdb)};PWD=bar;DBQ=C:\path\my_db.mdb]] }