Sign in to follow this  
Followers 0
silvano

ODBC conn

3 posts in this topic

#1 ·  Posted (edited)

$a = ObjCreate( "ADODB.Connection" )
$a.Open("DRIVER={Microsoft Access Driver (*.mdb)};SERVER=localhost;DATABASE=prova;UID=admin;PWD=;")

and this is the error trace with MyErrFunc()

err.description is: Operazione annullata

err.windescription is:

err.lastdllerror is: 0

err.scriptline is: 28

err.number is: 800200009

err.source is: Microsoft OLEDB Provider for ODBC Drivers

err.helpfile is:

err.helpcontext is:0

i have create dsn file like prova.dsn in the administration tools --> ODBC

tks

Edited by silvano

Share this post


Link to post
Share on other sites



Look here at DSN syntax.

For MDB it's here

there are the best link!

thank you very much!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0