Length limit for FileName within TransferText?

P

Perry

I have a set of queries that run fine. But when I attempt to run a macro to
export each of these to a separate CSV file, I get an error of object not
found. After trying several things, it appears that the length of the path
and filename that was coded is too long. I am running Access2000 under a
Windows2000 OS. Does anyone know if there is a limit to the length of the
path & filename that can be used? The length I was attempting and failing
with was 144 characters which does not seem excessive.
 
S

Steve Schapel

Perry,

I was not aware of any such limit. Do you mean the macro works if you
try to export to a path/filename that is shorter, but not with the
144-character one?
 
P

Perry

Correct. I have experienced this problem with separate macros in 2 separate
Access DBs. In one instance the path name had an '&' character which made me
wonder if that was causing the problem but I have experienced the error in
with out the '&'. In both instances, the length of the path and filename
exceeded 140 characters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top