How to verify if Access database exists...



Hi,

I am using the ADOX components to create an Access Database...
(TADOXCatalog.create1(path+file);
How can I verify if it already exists before creating it? Also, how can I
destroy it when I am done...
Here is what I need to do... When doing a mail merge with Word... I need to
create an Access DataBase with a table which will have different fields
depending of the circumstances... then, when the merge is finished, I need
to destroy this database... When I create the database, it creates a .ldb
(locking file) and when the merge is over, I can't delete this locking file
and I can't merge any else.

Any ideas?

H. Dumas



.



Relevant Pages

  • Re: How to verify if Access database exists...
    ... How can I verify if it already exists before creating it? ... destroy it when I am done... ... to destroy this database... ... and when the merge is over, I can't delete this locking file ...
    (borland.public.delphi.database.ado)
  • Re: How should I generate a primary key?
    ... the external reality and verify them. ... be verified for syntax or check digits inside itself. ... A surrogate key is system generated to replace the actual key behind ... with a quote from Dr. Codd: "..Database users ...
    (comp.databases)
  • Re: Keeping A Tool Library
    ... Easy enough to verify, just go to the MasterCam forum and ask. ... Last weeks e-mails ... questioned your use of the word database. ... video training is all about. ...
    (alt.machines.cnc)
  • Re: Rules wont apply to received messages
    ... Start the Database Utility to verify your database." ... the verify engine doesn't catch that the rebuild routines won't catch it ... good messages until you identify the areas of corruption. ...
    (microsoft.public.mac.office.entourage)
  • Re: getting rid of the "Issuing rollback()" warning
    ... When a DBI database handle is destroyed, ... The DESTROY method naturally disconnects the database connection. ... including Oracle, will commit. ...
    (perl.dbi.users)