Results 1 to 8 of 8
  1. #1
    huBelial is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    6

    Question OLE column


    I have a question about using the OLE datatype in Access 2007. So if I drag and drop an image into an OLE datatype column, the image will be stored as a package. But when I create a program and store an image into an OLE datatype column programmatically, the image will be stored as long binary data.

    Whats the difference? Are they stored different? Are there any conversion involved?

    Thank you

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    not really sure. what's the display in the table actually show?

  3. #3
    huBelial is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    6
    It says package if I insert images programmatically.
    And long binary data when I click and drag the image.

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    what's the dif when you extract it?

    any difference? that's what I was getting at. the name that it display means absolutely nothing until you figure out how that configures into working with the stuff inside of the record field.

  5. #5
    huBelial is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    6
    When storing it by click-and-drag, the extraction resulted in blank images.
    It extraction works fine when I store the images programmatically.

  6. #6
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    interesting stuff. what's your extraction tool?

    I've used OLE before, but it's been so long that I can't really talk intelligently about this.

    obviously if it works via programming it in, then I would stick with that. right?

  7. #7
    huBelial is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    6
    Yeah, but I'm just curious to why it doesn't work when you drag and drop. I think the image gets corrupted somehow, I don't know

  8. #8
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    no idea. I'm out of it at this point. I have nothing else to offer. good luck!

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

Similar Threads

  1. Replies: 1
    Last Post: 03-14-2011, 10:04 AM
  2. Sum of X's in column not rows, possible?
    By CoachBarker in forum Queries
    Replies: 7
    Last Post: 02-09-2011, 12:37 PM
  3. Replies: 7
    Last Post: 04-27-2010, 02:47 PM
  4. Replies: 1
    Last Post: 04-15-2010, 02:07 AM
  5. inserting values in column based another column
    By wasim_sono in forum Database Design
    Replies: 1
    Last Post: 06-27-2006, 05:23 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