Results 1 to 5 of 5
  1. #1
    kacocal is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2015
    Posts
    26

    Web site data with MS Access Database table


    Hi all,

    I am wondering if there is a direct way to import a web page data into MS Access Database 2010 table.

    Please advice.

    Thank you.

  2. #2
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    You can do this by parsing the data from the website.

    The easiest way would be through XML or JSON - that way you could directly parse the data. But not all web sites have them available.

    Does the website provide that?

    VBA would be required in order for it to work...
    http://stackoverflow.com/questions/1...-xml-using-vba

  3. #3
    kacocal is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2015
    Posts
    26
    Hi Ruegen,

    Thank you for the comment. However, I am very new to MS Access and don't know whether the webpage support XML or JSON. How can I know that?

    Please advice.

    Thanks,

    Quote Originally Posted by Ruegen View Post
    You can do this by parsing the data from the website.

    The easiest way would be through XML or JSON - that way you could directly parse the data. But not all web sites have them available.

    Does the website provide that?

    VBA would be required in order for it to work...
    http://stackoverflow.com/questions/1...-xml-using-vba

  4. #4
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by kacocal View Post
    Hi Ruegen,

    Thank you for the comment. However, I am very new to MS Access and don't know whether the webpage support XML or JSON. How can I know that?

    Please advice.

    Thanks,
    You'll have to search the website or the contact the website developer to see if any are provided. There really isn't any other way I can think of to find out if it is provided.

    You are asking for a page that is formatted in json/xml as apposed to the regular .html page.

    If you want to pursue this you really need to study on both json & xml and use the provided xml parser in VBA (also more learning).

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    If the Webmaster does not offer an API another option would be to automate Internet Explorer via the Microsoft HTML Object Library. Here is an example of interacting with a webpage using the library.
    https://www.accessforums.net/modules...tml#post246465

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

Similar Threads

  1. Replies: 10
    Last Post: 12-13-2012, 11:59 PM
  2. How to put Access 2003 database on my Site
    By supracharger in forum Access
    Replies: 1
    Last Post: 08-17-2012, 09:49 AM
  3. Importing and exporting data from a Sharepoint site
    By siddharthnk in forum SharePoint
    Replies: 0
    Last Post: 06-15-2012, 09:28 PM
  4. Importing Text / Raw Data from a Web Site
    By shibu8 in forum Import/Export Data
    Replies: 1
    Last Post: 11-02-2010, 03:32 PM
  5. Access to Web Site
    By Rick West in forum Database Design
    Replies: 3
    Last Post: 12-02-2009, 12:54 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