473,395 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Passing values in a hyperlink

Hello

Here is what I am trying to do:

Make a hyperlink on a data entry form with its URL built from the values for
fields in that entry on the database.

So, I would go to record 65785 click on the link and it would open a web
page.
The URL contained in the hyperlink would pass the name and address field
values from the database as parameters.

e.g.
https://servername/script.whatever?n...hatever_street
etc

The script would then use those values for its own purposes.
Actually its not a www address, its on the local network but its the same
idea.
What i am trying to do is create some "middleware" to connect the database
to another third party application.
Connecting the application back to the database would be much easier!

I have read the documentation and I don't think its possible to do this, but
I am not an access expert.
I also had a trawl through Google and the Usenet archive with no success.

Any comments?

Should I shoot myself now or persevere?

Thanks

Gordon
Nov 13 '05 #1
2 4559
What you are trying to accomplish requires the use of active Server
pages (asp). If your URL points to an asp then your problem is very
simple.

You pick a record. This record will be written to a table that your asp
will read. I am guessing however, that you want other people to access
this webpage. If everyone who is going to see the asp has to click on a
url in your mdb, that would seem a little redundant. You might as well
have the filters in the asp. I mean select the criteria in the asp and
then click on the submit button. Then write the results to the webpage.

As for passing parameters from/through a url, I think you are thinking
of the form post method of an html form submit button that will pass a
name value pair to another html (or asp) page that your form is posting
to.

If I am incorrect in what I think you are thinking then you are using a
scripting technology I am not familiar with. I state this as a
disclaimer to my comments and also to keep up with new stuff (please
share if it is new stuff). Right now I am familiar with asp, aspx, hta,
html, jsp, and how to write an excel page to an html page as far as web
client stuff goes. But you just never know when they come up with
something newer and slicker. Maybe it is possible to pass parameters
from a url in Access.

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #2

"Rich P" <rp*****@aol.com> wrote in message
news:pm****************@news.uswest.net...
What you are trying to accomplish requires the use of active Server
pages (asp). If your URL points to an asp then your problem is very
simple.

You pick a record.
That would be the case if the application could access the database but it
can't.
It is closed source so there is no way to make it do that.

What I am trying to do is just pass the values in the URL and use an
intermediate script to
unwrap them and pass them to the application.
In fact I can do this in javascript quite easily without ebven needing any
web server software.

At the moment I copy and paste from the database into an html form but this
seems very wasteful when there must be some way of passing the values.

I suppose I could have an ASP page that took the data from the database and
prefilled a form.
However, this seems a bit of overkill becaus eit woul dmean setting up a web
server on a local machine
for one page.
As for passing parameters from/through a url, I think you are thinking
of the form post method of an html form submit button that will pass a
name value pair to another html (or asp) page that your form is posting
to.


Correct.

As long as I can get the values out of the database in name/value pairs as
part of a URL
I can get them into the other application no problem.
Gordon
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: hansen | last post by:
hi all, I am creating online quiz (10 questions) with radio buttions (Yes/No). When the user clicks on the submit button i do some calculation and based on that calculation i display result.aspx...
4
by: opt_inf_env | last post by:
Hello, I know three ways to pass variables form one page to another. The first one is to declare and set session variable. In this case if one goes to another page (by clicking on hyperlink or...
1
by: Gibs | last post by:
Hi I have a 2 frames and in one frame, i am using a user control. I want to pass these user control values to the bottom frame page when the user clicks the hyperlink. how can i do this. Please...
4
by: Gibs | last post by:
Hi I have two aspx pages in a frame and in the top page i am creating the controls dynamically and putting in a place holder. I have a hyperlink in this page to populate the data in the bottom...
4
by: Lan H. Nguyen | last post by:
I have this line of code in my .aspx page <asp:HyperLink ID="hrefView" CssClass="main" ForeColor="blue" Runat="server" NavigateUrl='<%# "View.aspx?id=" + ID.ToString()%>'>View...
1
by: Iain Adams | last post by:
Hey I am trying to pass some parameters into a javascript function. This function is invoked from an onClick from a hyperlink. The parameters are some id's for a database, most of these are just...
1
by: abertay | last post by:
Hi friends...I need our help.I'm stuck with this code... can some one tell me how can pass a javascript variable into hyperlink along with a php varaible? Here is my code.. <html> <head>...
2
by: =?Utf-8?B?Ym9iYnk=?= | last post by:
Is this the right way topass values to query string <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Admin.aspx?Token=ABC">Go To Admin Page</asp:HyperLink></div>
6
by: alun65 | last post by:
I'm having trouble programmatically adding a user control and then setting some of it's server controls. I add the user control to the code behind and add it to a placeholder: protected void...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.