Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Houston, Texas, USA
    Posts
    432
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can't lock file (OS 2000, Outlook 98, Acess 97)

    I have an Outlook that I use as a form to save data into an Access 97 database. These forms were working fine for about 3 years. Now this morning, some of the users are coming up with Can't Lock file.
    The is gives me a line number and it points to this:

    Set MyDB=Dbe.Workspaces(0).OpenDatabase(databasepromot ionpromotion.mdb")

    Anyone have any ideas.

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Can't lock file (OS 2000, Outlook 98, Acess 97)

    Does your code compile? I notice that you're missing the opening quote for your path.
    Charlotte

Posting Permissions

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