Results 1 to 5 of 5
  1. #1
    quicova is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    53

    create EXE from database and have several project using the same database.

    Hello everyone.

    I created a database with forms, querys, etc.
    Now I was thinking of creating a exe so everyone can use this database without having access to all the design functions.

    the only problem I see about doing this is if we need to use the same database for different project, we need to always create a new exe for each project.

    Is there a way to make a empty database exe with just the layout, querys etc but with no data on the tables and have a save, open and save as option.
    so we can have several projects using the same database?

    I was thinking to create a VB code for the database to delete all data on the tables when the database is open.
    and before closing the database exporting all the data to a txt file or something.



    them the next time someone opens the database goes to the main form which has a open bottom which imports the txt file into the tables.
    this way we can have several txt file for several project and use always the same exe database.

    is this the best way to approach this problem?
    anyone has any ideas?

    thanks so much

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Maybe you need a split design. Frontend has queries, forms, reports, code, and links to tables in backend. The backend sits on file server and each user runs their own copy of the executable frontend on their workstation.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    quicova is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    53
    Hello everyone.

    That split design looks like a good idea.
    Is there a way to create different backends for different projects and create a buttom to choose which one to open, a button for save as and a buttom for create new project which makes a new empty backend file?

    I tried doing a split using the wizard and I get a subscript out of range error, any ideas on this?
    Can I do the split manually without the wizard?

    Thanks in advance

  4. #4
    quicova is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    53
    I figure out how to split the database manually.

    Here is the link if anyone has the same problem: http://answers.microsoft.com/en-us/o...b-d17efb9a962c

    Now I need to find a way to open the front end database with no tables and create a button to show with backend file to open
    and create another button to import an empty backendfile to start a new project

    any ideas?

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Why do you need to create multiple identical structure backends?

    Build a master backend db with empty tables and copy it as needed.

    However, this will be a maintenance/management headache.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. bibliographic database project help please
    By blueskyfree in forum Access
    Replies: 1
    Last Post: 03-21-2013, 12:00 AM
  2. A side Project, Movie Database
    By redbull in forum Programming
    Replies: 18
    Last Post: 08-10-2012, 06:59 AM
  3. Database Project for Class
    By Dlgrondahl in forum Database Design
    Replies: 7
    Last Post: 03-31-2011, 11:54 AM
  4. Need Help DataBAse Project
    By GuiGui34 in forum Database Design
    Replies: 0
    Last Post: 12-11-2010, 06:32 AM
  5. Project Assignment Database
    By flsticks in forum Access
    Replies: 3
    Last Post: 08-10-2010, 10:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums