Results 1 to 6 of 6
  1. #1
    jptros is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Mar 2012
    Posts
    9

    Import multiple objects from another database at once


    Is there a way to import multiple objects from another database at once? DoCmd.TransferDatabase works fine for only a few objects however it requires the database to be re-opened for each object which is terribly slow when importing several objects from another database. It would be nice if there was a way to record a macro going to through the import wizard which allows you to import everything only opening the database once.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    How often is this required to be accomplished and why?
    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
    jptros is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Mar 2012
    Posts
    9
    Quote Originally Posted by June7 View Post
    How often is this required to be accomplished and why?
    When there are lots of changes in the development front end it's easier to just reimport everything to the live front end so I've writen code and created a macro for pulling in everything except tables and linked tables from the development setup to the production setup. There are tons of forms, reports, queries and a good amount of modules in this application. Tracking changes and pulling them from a to b is a tedious process so I've automated it as much as I can to reduce human error (forgetting to pull over an object that has changed). It takes a good 5 to 10 minutes to reimport everything from scratch using DoCmd.TransferObject however I've noticed that if the Visual Basic editor is not open, the process goes quicker. When the editor is open, everytime a form is imported with DoCmd.TransferDatabase, the database is opened and the editor loads up a list of all of the form modules which has a pretty severe effect on performance.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Import just because of design edits! What a pain. Not how I manage my split db. I don't really keep track of details of changes, I just edit and save and when ready, replace the production version. Review http://forums.aspfree.com/microsoft-...ue-323364.html
    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.

  5. #5
    jptros is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Mar 2012
    Posts
    9
    Ah yes, I think you misunderstood me. Updating the front end is done by me or one of the other developers working on features/bugs/enhancements/etc. It's then pushed out to users after the fact however there are still some good ideas in there such as the self updating database. Might have to look into adding that feature into our front end. Any how, we usually update the via logon scripts and if needed we will push updates individually to users. We keep 2 copies of the access front end. One copy is linked to development only data and has a config table which controls the paths to other databases it accesses dynamically. The other copy is linked to live databases and it's config table contains values reflecting the live setup. When we are done developing in the development database we pull our changes to the live front end and stick a copy of the updated front end on the network for users to get a copy of (or the logon scripts to get a copy of). What I've done is written code to transfer the forms, reports, queries, and modules from the development database to the live database to make updating a little less tedious when there are a large amount of changes. It's not worth the time of transferring everything for 1 or 2 small changes however sometimes we will do bulk changes or bug fixes and push them all out at once. Clearly this is the exception and not the rule, bulk changes are infrequent. Was just wondering if there was a better way to handle the automation of moving the objects en masse from the development front end to the live front end.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Still not quite understanding the import approach. If the only difference between the two FEs is the pathing of table links and the config tables, then maybe just modify the table links of a copy of the development copy and replace the config table and publish that one out. Maybe my lack of understanding is because of the config tables. Never done that.

    Back to your original question, no, I don't see a way to program the mass import.
    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. Can't save database objects when changes made
    By stanley721 in forum Access
    Replies: 8
    Last Post: 10-12-2015, 08:51 PM
  2. Replies: 2
    Last Post: 09-29-2011, 12:50 PM
  3. Cannot import objects from secured database
    By focosi in forum Security
    Replies: 2
    Last Post: 09-10-2011, 02:33 AM
  4. Linked OLE Objects bloating size of database
    By Nosaj08 in forum Database Design
    Replies: 18
    Last Post: 07-09-2009, 05:54 PM
  5. IMPORT-ALL-OBJECTS is missing Tool
    By pacala_ba in forum Import/Export Data
    Replies: 0
    Last Post: 03-25-2009, 10:13 AM

Tags for this Thread

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