DoCmd.TransferDatabase acImport - an Excel DBF

B

Bob Barnes

N = "Store" & cboTheMonth & Right(cboStoreYr, 2) & ".dbf"
DoCmd.TransferDatabase acImport, "dbase IV", _
"S:\SelfAud", acTable, N, "StoreData", False

Have done this many times w/ DBF files. In this case, running the code
gives an error that it's not in the Path..."S:\SelfAud\Store0607.DBF" - which
it is.

H E L P...TIA - Bob
 
D

Douglas J. Steele

I seem to recall that there can be issues using long file names. Any chance
of reducing the file names to 8 characters?
 
B

Bob Barnes

Doug - That was it...Now I remember that from several years ago.

Thank you - Bob
 

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