Re: SQL Code Problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Close your database. Close Access. Go to the directory you store the
database and find the file (DatabaseName).LDB. If it exists, delete this
file (note: NOT the MDB file).

Open Access, open the database, delete the Table. Use the Menu View /
Refresh to make sure the Table is deleted and then run the code.

--
HTH
Van T. Dinh
MVP (Access)


"matt donker via AccessMonster.com" <forum@xxxxxxxxxxxxxxxxx> wrote in
message news:7d2ad2a902424dd7b7898da8370f1a69@xxxxxxxxxxxxxxxxxxxx
> This does not work as once i try to delete it it responds with an error
> saying it cannot delete the table while its open. So i wrote a close code
> before trying to delete it. Then when ran it it responding with and error
> 3211 cannot lock table because its in use by another person or process.
> Which makes no sense because this is the start up form nothing else is
open
> or using it. And the only process that uses this table is the process i
am
> trying to run.
>
> any suggestions?
>
> --
> Message posted via http://www.accessmonster.com


.



Relevant Pages

  • Re: public and private mailboxes randomly dismounting
    ... When posting logs an important piece is the Event ID and Source. ... Information Store First Storage Group: An attempt to move the file ... An error occurred while writing to the database log file of storage group ...
    (microsoft.public.windows.server.sbs)
  • Re: cant mount information store
    ... I then reinstalled exchange and then installed exchange 2003 ... Information Store First Storage Group: Database recovery failed ... Microsoft Exchange Information Store. ...
    (microsoft.public.windows.server.sbs)
  • Re: Many Exchange errors!
    ... Event Source: ESE ... Information Store First Storage Group: An attempt to move the file ... An error occurred while writing to the database log file of storage group ...
    (microsoft.public.windows.server.sbs)
  • Re: Many Exchange errors!
    ... Event Source: ESE ... Information Store First Storage Group: An attempt to move the file ... An error occurred while writing to the database log file of storage group ...
    (microsoft.public.windows.server.sbs)
  • Re: Many Exchange errors!
    ... Event Source: ESE ... Information Store First Storage Group: ... An error occurred while writing to the database log file of storage ...
    (microsoft.public.windows.server.sbs)