PC Review


Reply
Thread Tools Rate Thread

Access to HTML

 
 
Rizza
Guest
Posts: n/a
 
      28th Feb 2005
I am looking for an example of how to pass a value from access to a web page
input box. I would like to use VBA rather than third party software if
possible.


 
Reply With Quote
 
 
 
 
Rick Brandt
Guest
Posts: n/a
 
      28th Feb 2005
Rizza wrote:
> I am looking for an example of how to pass a value from access to a
> web page input box. I would like to use VBA rather than third party
> software if possible.


You can submit HTTP requests using the MSXML library.

Dim MyPostData As String
Dim MyURL As String
Dim oHttpPost As Object

MyPostData = "SomePageVariable=SomeDataValue"
MyURL = "http//www.SomeDomain.Com/SomePage"
Set oHttpPost = CreateObject("Microsoft.XMLHTTP")
oHttpPost.Open "POST", MyURL, False
oHttpPost.setRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
oHttpPost.Send (MyPostData)

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add html to access or create html page in access? zizou Microsoft Access VBA Modules 2 8th Feb 2010 08:28 PM
HTML Viewer and programmatic access to HTML elements Swan B Microsoft Dot NET Compact Framework 1 17th Mar 2005 10:11 AM
Export data from Access to HTML file and control the formatting (to be used in HTML Help) Vincent Microsoft Access External Data 1 18th Dec 2003 02:53 AM
Access Report to HTML - need in single HTML file John L. Lauer Microsoft Access Reports 3 28th Jul 2003 05:55 PM
Access Report to HTML - need in single HTML file John L. Lauer Microsoft Access 3 28th Jul 2003 05:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:37 PM.