Results 1 to 5 of 5
  1. #1
    injanib is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jan 2011
    Posts
    67

    Split Database

    Hi,



    This may be a silly question, but I am curious.
    When a database is split, the back-end is placed in a centralized location and the front-end on the individual work stations. Say for example the current event of a form is running a code that is supposed to look at the current database's path using currentproject.path. I know that the code will be executed from the workstation where the front-end is open, but is it going to look at the path name of where the back-end is located? Because it is supposed to look in a folder that is in the same directory as the back-end.

    Thanks.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I think you should try asking that question another way. Sorry, but what you asked does not make a lot of sense to me. What are you trying to accomplish?

  3. #3
    injanib is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jan 2011
    Posts
    67
    Thanks,

    I think I will experiment what I am trying to do hands on and then share the results.

  4. #4
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    The path name from the front end to the back end is not going to be relative to the front end - it's an absolute path.

    Also, generally, there's a "current" version of the front end that's stored "near" the back end. That way the active front end can check itself against the "current" front end to see if it needs to be updated.

    Hope this helps.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,602
    CurrentProject.Path will be the path of the frontend because that's where the code is running.

    I use UNC to reference backend path in VBA code: \\server name\folder path
    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. Split Database
    By gbwiii in forum Database Design
    Replies: 4
    Last Post: 05-20-2011, 09:55 AM
  2. When should I split my database
    By jordanturner in forum Access
    Replies: 7
    Last Post: 09-14-2010, 07:12 AM
  3. Split Database.
    By cvolkers in forum Programming
    Replies: 3
    Last Post: 09-09-2010, 11:52 PM
  4. Split Database
    By smikkelsen in forum Database Design
    Replies: 4
    Last Post: 04-16-2010, 06:46 AM
  5. Split Database
    By pthoopth in forum Database Design
    Replies: 3
    Last Post: 11-09-2009, 03: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