dbTalk Databases Forums  

Transfer data to web page fields

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Transfer data to web page fields in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jcnone@none.com
 
Posts: n/a

Default Transfer data to web page fields - 01-31-2008 , 12:57 PM






Can anyone help me to transfer data results from a SQL query to
input forms on a web page using vba or whatever will work. I work
on a web page with forms that I need to populate with data. The web
page is not mine and I have no control of the web page. My data
comes from an SQL query and I want to code the transfer of the
multiple data results into the web page form fields. I have little
experience with VBA and SQL so please comment any code if possible.
Thanks for your help.
Jman


--
--------------------------------- --- -- -
Posted with NewsLeecher v3.7 Final
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -


Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: Transfer data to web page fields - 01-31-2008 , 08:52 PM






On Thu, 31 Jan 2008 18:57:56 GMT, jman (jcnone (AT) none (DOT) com) wrote:

That's not quite the subject of this newsgroup, but I will try to
answer. It's not a simple project, and someone with "little
experience" will likely not be able to complete it.
If you want to use VBA you could create an Access form, have a
webbrowser control on it, and in code (or via a textbox) navigate to
your webpage. Then you need to use the DOM = Document Object Model to
find the input boxes and put values in them. E.g.:
WebBrowser1.Document.All("some_field").innerText = some_value
Getting the data out of the sql server is the easy part. You'd
probably run a query and capture the results in an ADO recordset.
You can also submit the page by calling the submit button's click
event:
WebBrowser1.Document.Forms(0)("Submit").Click

If the above is too much for you, hire professional help. "Microsoft
Solution Provider" in your Yellow Pages is a good place to start.

-Tom.


Quote:
Can anyone help me to transfer data results from a SQL query to
input forms on a web page using vba or whatever will work. I work
on a web page with forms that I need to populate with data. The web
page is not mine and I have no control of the web page. My data
comes from an SQL query and I want to code the transfer of the
multiple data results into the web page form fields. I have little
experience with VBA and SQL so please comment any code if possible.
Thanks for your help.
Jman

Reply With Quote
  #3  
Old   
jcnone@none.com
 
Posts: n/a

Default Re: Transfer data to web page fields - 02-01-2008 , 02:46 AM



Tom,
Thanks for your reply.
Do you know of a group where this topic would be more suitable?
I will see what I can do with the outline you provided. Any coding
examples, links, tutorials you may know of which use the outline you
gave to transfer data from an SQL query to a web form field would
be much appreciated.
Thanks
Jman


--
--------------------------------- --- -- -
Posted with NewsLeecher v3.7 Final
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -


Reply With Quote
  #4  
Old   
graformix.com - professional design studio
 
Posts: n/a

Default Re: Transfer data to web page fields - 02-19-2008 , 03:03 AM



Hello,

Please, take a look at dbconvert.com
We provide custom database conversion services as well

Regards ,
Dmitry


On Feb 1, 12:57*am, jman (jcn... (AT) none (DOT) com) wrote:
Quote:
Can anyone help me to transfer data results from a SQL query to
input forms on a web *page using vba or whatever will work. *I work
on a web page with forms that I need to populate with data. The web
page is not mine and I have no control of the web page. *My data
comes from an SQL query and I want to code the transfer of the
multiple data results into the web page form fields. *I have little
experience with VBA and SQL so please comment any code if possible. *
Thanks for your help.
Jman

--
--------------------------------- --- -- -
Posted with NewsLeecher v3.7 Final
Web @http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.