Results 1 to 6 of 6
  1. #1
    Gevorg is offline Novice
    Windows XP Access 2000
    Join Date
    Mar 2012
    Posts
    3

    Question How can I display long binary data in Microsoft Access Report

    Hi Everybody!

    I worked with my mdb file till its volume comes to 2GB.
    I have table where the images are stored in OLE Object data type.
    In previous I copied the images from Corel PhotoPaint and pasted directly into the table.


    So I could work with my database report till the volumes comes to 2GB.

    Please help me to understand what should I do to continue my job.

    Thank you

    George.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    Save the images in a folder outside the database. Store filepath to the image in table.

    http://office.microsoft.com/en-us/ac...005280225.aspx
    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
    Gevorg is offline Novice
    Windows XP Access 2000
    Join Date
    Mar 2012
    Posts
    3
    Thank you for taking time and responded to my question. The problem is that I prefer to use data management instead of file management, since the images are too many. They are about 1,000,000. For now they are 42,000. So this is the reason that I am trying to keep my approach in managing the images.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    If the images are bloating the file to exceed 2gb even after Compact & Repair, your options are multiple Access files or external storage of images. Or maybe convert to MySQL database.

    What sizes are the images you are saving and what file type (jpg, tif, png, gif, bmp)?
    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.

  5. #5
    Gevorg is offline Novice
    Windows XP Access 2000
    Join Date
    Mar 2012
    Posts
    3
    I use jpg files in my tables for the images. I just upload images to MySQL table and linked to the table through Microsoft Access. Using LenB command for both columns I receive the following results: the file with long binary data in MySql have for example 44KB and in Access table have 2.2MB, the other one with 101kb have 4MB.
    I am also interested in converting the files to Long Binary data to MySQL but I am not familiar with this operation. Is their any code which can convert the images to MySql table?
    Last edited by Gevorg; 03-25-2012 at 09:26 AM.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    I assume by your profile you are use Access 2000 and so must be using the OLE Object field type for your images. I don't know any code that can extract the image files from the table and 'move' into SQL. This link shows how to manipulate files from the Access 2007 Attachment field, maybe something similar can be done with OLE Object type http://blogs.office.com/b/microsoft-...cess-2007.aspx.

    Google: access vba add delete copy ole object file

    Maybe this can help

    http://bytes.com/topic/access/answer...ject-ole-field
    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. Replies: 5
    Last Post: 10-18-2011, 11:37 AM
  2. Replies: 2
    Last Post: 09-10-2011, 11:03 PM
  3. Cannot import binary data > 1M into MySQL BE
    By wbiebel in forum Import/Export Data
    Replies: 17
    Last Post: 02-14-2011, 11:17 PM
  4. Replies: 6
    Last Post: 04-18-2010, 03:41 AM
  5. Replies: 2
    Last Post: 10-09-2009, 07:34 AM

Tags for this Thread

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