473,326 Members | 2,102 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,326 software developers and data experts.

Passing search parameters with hyperlink to an ASP page

Hi there,

The website has an ASP page and I want to pass parameters within the
URL using Access 2003.

I have the format of the URL worked out. If this is pasted into the
address bar of IE, it works exactly as required.

When I use the FollowHyperlink method in VBA using the same string, it
does not work properly. Very strange, and it has got me beat.

The structure of the URL is (with IP address changed)

http://123.123.123.123/DMS/FindFile....FileWanted.pdf

The parameters being passed log the user onto the site and pass in a
string for a search function to display the requested file. This string
works perfectly if simply pasted into the IE address bar. However, when
called with FollowHyperlink, the user is logged in, and then thrown out
again. This could be something to do with the ASP coding, but it is not
my site, so I cannot change it, or it would be difficult to get it
changed.

Is there any other way to use Access 2003 to open IE and follow a URL
other than use Follow or FollowHyperlink?

Any help appreciated.

Cheers, Paul

Jan 5 '06 #1
2 1931
Curious_Kiwi wrote:
Hi there,

The website has an ASP page and I want to pass parameters within the
URL using Access 2003.

I have the format of the URL worked out. If this is pasted into the
address bar of IE, it works exactly as required.

When I use the FollowHyperlink method in VBA using the same string, it
does not work properly. Very strange, and it has got me beat.

The structure of the URL is (with IP address changed)

http://123.123.123.123/DMS/FindFile....FileWanted.pdf

The parameters being passed log the user onto the site and pass in a
string for a search function to display the requested file. This string
works perfectly if simply pasted into the IE address bar. However, when
called with FollowHyperlink, the user is logged in, and then thrown out
again. This could be something to do with the ASP coding, but it is not
my site, so I cannot change it, or it would be difficult to get it
changed.

Is there any other way to use Access 2003 to open IE and follow a URL
other than use Follow or FollowHyperlink?

Any help appreciated.

Cheers, Paul


I seem to remember having success doing what you're trying in the past.
Did you escape any/all spaces characters?
Jan 5 '06 #2
Thanks for the reply. I have not used any escape codes.

There are no spaces at all and no other characters requiring escape
codes as far as I can see. The only ones that I understand are
necessary are the chracters & > <

Should I escape the whole thing?

I am just baffled that a string pasted into the browser dirctly behaves
differently to a string using FollowHyperlink.

Cheers, Paul

Jan 6 '06 #3

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

Similar topics

3
by: bpschmid | last post by:
Ive got a datagrid with a hyperlink column. I want to click on that column and go to another page, but here's the kicker, I need and want to pass not one, but two different query string parameters...
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...
5
by: Jim Banks | last post by:
Greetings I'm opening a pop up window with a html form, (in one document) and I want to pass a variable to the html form called from the hyperlink. Here's the code I'm using to pop up the...
1
by: Machelle Chandler | last post by:
All, I'm trying to populate a datagrid with a data adapter that uses a stored procedure with a parameter. I get the below error when I run my code (as seen below). Any hints? If I delete...
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: Laura K | last post by:
I have a datagrid with a hyperlink field. It passes a parameter but I need it to pass three. I need two of the parameters to be querystrings that have already been passed to the page but I have...
1
by: Paul D. Fox | last post by:
I'm trying to launch a Child Window from a hyperlink on a Datagrid and have it recieve multiple values from the Parent Window. Upon recieving the values in the Child Window, I need to access them...
1
by: Roy | last post by:
I'm assuming this is amazingly simple and I'm just missing the boat. On the html side of an asp.net page I have a datagrid, a "search" button, and 8 text boxes for search criteria. A user enters...
2
by: vksundari | last post by:
I am executing a select query in a C# component and populating a ASP Grid in Search.aspx. Now one of the columns in the Grid in Search.aspx is Policy Number(hyper link) Basicallly I want to call a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.