473,657 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4583
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.co m> wrote in message
news:pm******** ********@news.u swest.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
1494
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 page with the proper scors. so far so good. within the result.aspx page i have a link says "to view the proper answer click here" (which will direct the user to another form called correct.aspx)when clicked users will see the correct answers. I...
4
9198
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 pressing a button) value of a session variable will be automatically seen on the new page. The second way is to set hidden variables in the form and go to new page by execution of this form (press a button or enter), and the last way, which I...
1
1917
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 help Thanks in advance
4
2345
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 aspx page. When the user clicks this hyperlink i need to populate the bottom aspx pagebased on the user imputs. So i need to pass the values from the top aspx page to bottom aspx page. how can i achieve this. Please give some ideas...
4
9346
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 Customer</asp:HyperLink> But when the page runs it shows text only "View Customer" without hyperlink. This is what it was rendered in the page source <a id="hrefView" class="main" style="color:Blue;">View Customer</a>
1
1964
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 numebrs but some are of the form xxxx-xxxx-xxxx when I pass these types nothing happens and my debugger says theres a syntax error. Heres and example of the code that creates the hyperlink: <a href = '#' onClick='viewDetails(...
1
2493
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> <script type="text/javascript"> function favBrowser()
2
1241
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
10107
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 Page_Load(object sender, EventArgs e) { UserControls_WebUserControl myControl = new UserControls_WebUserControl(); PlaceHolder1.Controls.Add(web);
0
8413
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.