HP3000-L Archives

June 2003, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Dennis E. Hassell" <[log in to unmask]>
Reply To:
Dennis E. Hassell
Date:
Thu, 5 Jun 2003 19:47:56 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
Just an idea - it's the ODBC driver on the PC that resolves this path,
and if the driver is more DOS than Windows, it might need an 8.3
character name format like C:\Docum~1\tyler\short.mdb. It may not be
able to parse the longer name.

Dennis Hassell
(941) 746-4919


-----Original Message-----
From: Tyler Erickson [mailto:[log in to unmask]] 
Sent: Wednesday, June 04, 2003 5:17 PM
To: [log in to unmask]
Subject: [HP3000-L] Error: -2147467259 [Microsoft][ODBC Driver Manager]
Data source name too long

 I am trying to open an access database and my code is crashing at the
very beginning when I try to open the DB with the following code.

cnn.Open "C:\Documents and Settings\tyler\short.mdb;"

the error message I'm getting is

Error: -2147467259 [Microsoft][ODBC Driver Manager] Data source name
too long

I've shortened the path name as much as I could, or is there another
problem that I am totally missing? (most likely)

Any ideas would be very helpful.
Tyler

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2