Results 1 to 2 of 2
  1. #1
    cowboy is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    291

    Importing jpgs running out of memory?

    I have some unbound images that I am setting as the report is shown. It comes up with a screen that says "Importing: ....". The problem I am having is after a certain amount of reports it is giving me an error because the jpg is too big, but if I just print preview on that report it works just fine. So I am thinking as Access imports the images it accumulates and runs out of memory at a certain point. Is there away to clear the memory being used when the report closes and goes to the next report?


    Here is a sample of the code I am using

    If IsNull(Forms("SpecialStructureForm").[Picture1]) = False Then
    Forms("SpecialStructureForm").imgPicture1.Picture = Forms("SpecialStructureForm").[Picture1]
    Else
    Forms("SpecialStructureForm").imgPicture1.Picture = ""
    End If

  2. #2
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    That error probably means that your Access program is corrupted, i.e. the programm is trying to access (no pun intended) an improper memory location.

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

Similar Threads

  1. Replies: 9
    Last Post: 11-09-2011, 11:34 AM
  2. New JPGs Not Displayed
    By DJMoore in forum Access
    Replies: 1
    Last Post: 11-15-2009, 05:30 AM
  3. access 2003 on vista Out of Memory Problem
    By skbrede in forum Access
    Replies: 0
    Last Post: 07-25-2009, 08:28 AM
  4. Replies: 0
    Last Post: 01-09-2009, 03:10 PM
  5. Out of Memory
    By Norman Masson in forum Access
    Replies: 0
    Last Post: 12-29-2008, 11:09 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