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

    Form Loading Slow From the Shared Folder


    I have a database that holds students information. The back-end is stored on a shared folder in a workgroup environment. The pictures of the students are stored externally on a folder in the same share folder as the backend. The front ends are installed on 4 computers. The current event of the form looks into the folder in the shared folder to display the picture associated with each record. This causes the form to load up very slow. what can I do to speed this up. The code to display the images is:

    strFullPath = "\\ComputerName\Database\Students\" & Me.txtStudentID & ".bmp"

    If Dir(strFullPath) = "" Then
    Forms!frmUpdateEnrollment.txtImage.Picture = ""
    Else
    Forms!frmUpdateEnrollment.txtImage.Picture = strFullPath
    End If

    The pictures are displayed properly. It is just that navigation between the records are very slow, specially when the form is loaded for the first time. the sizes of the pictures are below 100Kb.

    Thanks in advance.

  2. #2
    injanib is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jan 2011
    Posts
    67
    I take it back. the pictures do not display properly. It worked on the local machine. I didn't actually tested it on the network.

    Before I had it as

    strFullPath= CurrentProject.Path & "\Students\" & Me.txtStudentID & ".bmp"

    This worked really well on the workstation, but since I have to put it on the network, I changed the path to that in my post above. It doesn't display the pictures and the forms load extremely slow.

  3. #3
    injanib is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jan 2011
    Posts
    67
    Ok this is resolved. The problem was with the path.

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

Similar Threads

  1. Replies: 0
    Last Post: 02-15-2011, 01:43 PM
  2. Auto Loading a Form
    By toddbuckles in forum Programming
    Replies: 7
    Last Post: 12-28-2010, 04:20 PM
  3. Replies: 5
    Last Post: 12-27-2010, 06:59 PM
  4. Slow Access Loading time
    By alexstoker in forum Access
    Replies: 3
    Last Post: 02-05-2006, 08:55 AM
  5. Loading the form with selected record
    By emilylu3 in forum Access
    Replies: 1
    Last Post: 12-09-2005, 07:49 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