Results 1 to 3 of 3
  1. #1
    DavidSwift9 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    2

    Cool Extract data from table on URL (to include png files)

    Hi,



    I am a new user to access. I would like to extract a table from a URL, it is 4 fields and has around 150 records. One of the fields is made up of png files, relatively small ones. Is it possible to extract all the text and png files straight into access without individually saving each picture and attaching it to a record?

    Many thanks.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Data can be extracted from web pages, not easy.

    Bing: Access VBA download table from web page.

    I don't think the images will get saved. Saving images files (or other file objects) into attachment field in table requires even more special coding. Review: https://www.accessforums.net/program...ton-38798.html

    You might find this interesting https://www.accessforums.net/forms/a...her-34620.html
    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
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180

    Extract data from table on URL (to include png files)

    I created a mini tutorial on how to download images from a website using Access

    http://youtu.be/HMOE6LkoqW8

    I prefer not to store files as attachments in a db as it will bloat it quite quickly.
    You could store the filepath and filename in a field of the table.

    For Tables you can use the HTML Library that you would need to Reference.
    Loop through the DOM and Table elements and store each value that way.

    Working with Images and OLE objects:
    http://www.599cd.com/site/courselist...?key=AlexForum

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

Similar Threads

  1. Replies: 12
    Last Post: 11-04-2013, 07:08 AM
  2. DateDiff to include start date
    By AussieGal in forum Access
    Replies: 1
    Last Post: 05-07-2013, 02:50 PM
  3. Extract Date
    By bigroo in forum Forms
    Replies: 38
    Last Post: 11-25-2012, 08:32 PM
  4. Replies: 1
    Last Post: 06-20-2012, 12:18 PM
  5. OutputTo Macro Include today's date
    By Lorlai in forum Access
    Replies: 2
    Last Post: 09-27-2011, 01:42 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