Results 1 to 2 of 2

Thread: All data lost when renaming .mdb file!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    19
    I'm using a DAO connection with Access 2000 and now I have a little problem. When I first close a connection with a 'generic.mdb' file using the data1.database.close method, then rename the 'generic.mdb' to, for example, 'other.mdb' with the 'Name oldfile As newfile' statement, then reopen it with the data1.databasename=...etc etc , all the data in the 'other.mdb' file is lost!

    What am I doing wrong?

    Dave.

  2. #2
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274
    Not sure about Access 2000 but in the older versions you had to rename the library (ldb) too. Maybe that would help?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width