Results 1 to 4 of 4
  1. #1
    JeffGeorge is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    111

    Editing Objects Without Nav Pane

    Is it possible to access database objects without using the nav pane? I'd like to keep the nav pane turned off on a shared database so that the regular users don't get confused, but I have need to edit various objects. I could just turn it on and off as needed but I was hoping there was another way to access the objects.

  2. #2
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    If you are using a shared database with anything other than tables in it, stop and rethink your setup. Having a shared (network) database with all the forms, queries etc. in it is asking for trouble. Generally speaking, it is not if, but when, you will encounter some form of corruption.

    For multi-user applications, you should be using a split database, where only the data (tables) are stored in a network files (the back-end), and each user has their own copy of the file with all the report, queries, etc (the front-end). By doing this, you can make changes, and test them as required, and once everything is working, distribute updated versions of the front-end to your users. No users should be opening the back-end directly.

    As for the navigation pane, you can keep it visible in your working, development copy of the front-end, and then turn it off in the version you distribute to your users.

    HTH

    John

  3. #3
    JeffGeorge is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    111
    I understand the inherent dangers faced with this database but, unfortunately, the person that originally designed it did it this way and it would be way too much work to redo it, especially since it's being phased out. I just wanted to know if there was some way to edit the objects without using the nav pane while the database is still active.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    VBA code can open an object in design view. Tables and queries can be edited without opening by using TableDefs and QueryDefs collections. I have code using those collections to create tables and to edit query but haven't used in a long time. It was a tool created in early stages of db development.

    I also have code that opens a report in design view, does some edits, saves report, then prints report. Why do I do this? - it's a long story. Normally, building code to edit objects is way more effort than just manually opening and doing the edit.

    Edits to a shared db file cannot be saved unless the db is opened exclusively.

    Splitting a database is not that difficult.
    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. Replies: 3
    Last Post: 10-19-2013, 10:21 AM
  2. Replies: 2
    Last Post: 04-21-2013, 08:03 AM
  3. Replies: 2
    Last Post: 02-27-2013, 03:01 PM
  4. Navigation Pane
    By Patrick.Grant01 in forum Programming
    Replies: 11
    Last Post: 01-08-2013, 04:55 PM
  5. Replies: 5
    Last Post: 12-18-2012, 02:37 PM

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