Results 1 to 2 of 2
  1. #1
    harmankardon is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    6

    Subform with OLE field very slow inside parent form

    Hello all,



    I have a form called frmMain which is bound to a table called tblMaster. I also have a subform called frmSubForm which is bound to an BLOB attachments table called tblBlob and linked to frmMain by the primary key in tblMaster.

    My problem is that when opening the subform (in continuous view like it is on the main form) on its own, it works fantastic. I can scroll down through all the attachments and open attachments with no performance issues whatsoever. But when I open the main form and the subform is displayed as a subform control, performance is extremely poor with attachments over a few MB. Any record that has attachments over 2-3 MB will take up to 15 seconds to load. Also, the attachments subform control is in the middle of my main form (which is a long form in Single Form view) and every time I scroll down the main form, the whole thing freezes for about 15 seconds as soon as the attachments subform control appears at the bottom of the screen. Once the subform control is on the screen, there are no major performance issues.

    If I scroll back up again and then back down, same thing, big freeze. Closing the form takes 5-10 seconds and editing any of the fields in the subform is slow to respond.

    Now the tricky part is that the main form loads in under 2 seconds with no attachments, and the subform form will load on its own almost instantly, even though it displays all ~70 attachments on one screen.

    If I set the subform's Recordset Type to snapshot, the main form works beautifully (just as the subform works on its own in dynaset) but I can't update the recordset.

    Any idea why both forms perform so well on their own and the subform can display ~70 BLOB records with no problems at all, but when opened inside the parent form, it causes huge performance drops?

  2. #2
    harmankardon is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    6
    Also, if I set the visible property of the subform control to false, the main form still takes 10-15 seconds to load but once loaded, I can scroll without any "rendering" slow downs. I am really scratching my head on this one.

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

Similar Threads

  1. Problem using Parent/Child Form/Subform
    By EvanRosenlieb in forum Forms
    Replies: 4
    Last Post: 06-27-2011, 05:25 PM
  2. Replies: 4
    Last Post: 05-17-2011, 06:56 AM
  3. Replies: 5
    Last Post: 03-17-2011, 06:21 AM
  4. Replies: 2
    Last Post: 10-19-2010, 11:05 AM
  5. Replies: 1
    Last Post: 08-03-2009, 08:24 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