Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 15th, 2013, 01:05 PM
Registered User
Join Date: Mar 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Classic ASP - data passed from one page to another page

Perhaps someone can help me on this issue:

I am trying to pass data from one page#1 to another page#2.

1. In page#1, a Query is generated with an I.D., and Name.

sqlStmt = sqlStmt & "QDGM.QDGM_ID AS QDGM_ID, "
sqlStmt = sqlStmt & "QDGM.QDGM_NMBR AS QDGM_NMBR "
set rstemp=conntemp.execute(sqlStmt)

2. The data on Page#2 is generated which appears.
( QGM20110041] 450 ) <--- clicked on data line

3. When I click on the the line of data, I want the I.D. number totransfer to Page#2. The connection to page#2 does occur, but, not the I.D. data transfer. Do i need to include or subject anything from href or maybe use some other code? Thanks for your help.

Here is my href.
do while not rstemp.eof %>

<a href="templates/qdgm_rltn.asp" target="_blank">[<%=trim(rstemp("QDGM_NMBR"))%>]&nbsp;<%=rstemp("QDGM_ID")%></a></FONT><br>


4. Here is Page#2 which does connect to Page#1. It produces an error message when the I.D. is not transferred in Page#2.

Line of code in Page#2:


' used a message box with the value of and I.D. - to see if data was passed.
<%if QDGM_ID <> "" then%>

<%'Set initial values
Error........No ID was found
Old March 15th, 2013, 01:42 PM
samjudson's Avatar
Friend of Wrox
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts

You need to find the right forum. This is Xslt.
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting classic asp to an xml page adamhw Classic ASP XML 10 December 7th, 2009 12:09 PM
Posting form data from ASP.NET page to another page sastry532@gmail.com BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 January 22nd, 2009 10:46 AM
increase caching size in Classic ASP page crmpicco Classic ASP XML 0 April 4th, 2006 11:28 AM
Auto refreshing data on asp page x_ray Classic ASP Basics 2 December 7th, 2005 07:00 AM
Getting data to ASP page askenkray Classic ASP Components 0 January 13th, 2005 01:08 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.