Results 1 to 5 of 5
  1. #1
    ork2002 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2014
    Posts
    11

    Angry Splitting the Database has lead to very long delays.

    I am trying to split a large patient database into a front end and back end. I have a report that is vital to the daily operation, and it requires frequent refreshing for the controlling administrator. Splitting the database into a front end and back end is causing this report to go from loading in 1-2 seconds to requiring 30 seconds to load. Any suggestions/help would be appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Buy a faster file server? Probably not an option and might not resolve the issue anyway.

    How complex is the report? Does it use any domain aggregate functions?
    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
    ork2002 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2014
    Posts
    11
    It is very complicated compiling data from two tables and many queries. It is a weekly operating room schedule where the week is one page and then there are multiple subreports in 5 columns representing the five days of the week where each patient is a subreport, usually 3-8 patients in a column an average of 25 subreports per page... It runs very quickly when the database is not split, even though the database is stored on the same server that the backend is when I try to split it... I think the report may just be too complex.

    It was even slow when I copied it onto my semi-high performance computer and tried to split it on my computer. Would it help to move all the queries to the backend too?
    Last edited by ork2002; 08-20-2014 at 09:46 PM. Reason: cell phone autocorrect errors.

  4. #4
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,173
    The problem could be that for loading each subreport the report opens and closes a new connection to the backend. Moving the queries to the backend is not really an option as you need them in the same file as where you open the report, you can't link to a query. You could try to use pass-through queries or create a work table in the front end to store the result of the final query result and use this as the base of your report. You can then refresh this workset at regular times using a timer or letting the user hit the refresh button.
    Also look at your report to see if you can't get a similar result using 'grouping and sorting' in stead of subreports. Subreports always draw a lot of resources.

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    It may be as simple as employing a Main Menu form that remains open while the application is open. You could bind the form, or a subform within the form, to a small table/recordset on the BE file.

    I use a User Profile table and display the current User's name and department in my Main Menu forms.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-16-2013, 04:35 PM
  2. Splitting Database
    By winterh in forum Database Design
    Replies: 7
    Last Post: 03-26-2012, 07:59 PM
  3. Splitting the database
    By mohiahmed in forum Security
    Replies: 1
    Last Post: 02-14-2012, 04:50 PM
  4. Splitting my database.
    By bcox9 in forum Access
    Replies: 7
    Last Post: 12-17-2011, 06:23 PM
  5. Database Splitting
    By Matthieu in forum Access
    Replies: 8
    Last Post: 02-08-2010, 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