Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Louisville, Kentucky, USA
    Posts
    605
    Thanks
    0
    Thanked 0 Times in 0 Posts

    New Database (97)

    Does anyone know what the code is for opening a new database?

    Also...if anyone knows, I can name a table that will be exported to a spreadsheet via code, can I name the new db via code?

    Thanks for all the help.
    Roberta Price <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

  2. #2
    4 Star Lounger
    Join Date
    Feb 2001
    Location
    Richland, Washington, USA
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: New Database (97)

    Search VBA Help for "NewCurrentDatabase Method Example" for a coding example. This creates a new .mdb database. If you're interested in creating a Microsoft Acces Project (.adp) file, then search for "CreateAccessProject Method".

    These methods let you specify the database name.

    Hope this helps.

Posting Permissions

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