pcontini Posted January 20, 2005 Report Posted January 20, 2005 Sto sviluppando una macro in word per connettermi ad un database tramite ADOHo creato da sistema operativo un file .dsn nella cartella system dsn e poi apro il collegamento così: conn.ConnectionString = "Data Source = 'lnk_out'" conn.Openfin qui tutto ok.Volevo utilizzare ora un file .dsn posto in una cartella a mia scelta. Riesco, sempre tramite utility ODBC a creare il file, ma non riesco a far "bere" alla stringa di connessione il path del file.Qualcuno di voi sa aiutarmi?Ciao
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now