Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > BOOK: Beginning ASP 3.0
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 29th, 2005, 11:39 AM
Registered User
Join Date: Sep 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Response script with tracking infomation

I have created a script that would allow someone to track their order status, ie. ups tracking number. However I am having trouble writing the right code to send to their browser. This is what I have so far:

 Orderno = Trim(Request.Form("Ordernumber"))

 Set adoRS = Server.CreateObject("ADODB.Recordset")

 sSql = "SELECT * from otracking where orderno='" & Ordernumber & "'"
 Set adoRS = db.Execute(sSQL)

 Response.Write "<BODY BGColor=beige>"
 Response.Write "<CENTER><H1>Your Customer Number has not been found.</H1></CENTER><BR>"

 Else Response.Write "<b>Your Order Tracking Infomation is as follows:<b><br>"
      Response.Write "<BR>"
      Response.Write adoRS("trackingid")' This is where I am having the trouble.

 End if

IF Err.number <> 0 then
 Response.Write "Error loading information<BR>" & vbcrlf
 Response.Write "Please check the number and try again"
 Response.Write "Description:" & err.Description
 End If


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracking My mileage rkellogg VB How-To 2 September 6th, 2006 11:19 PM
Tracking who is changing what? rrhandle SQL Server 2000 1 August 15th, 2006 03:03 AM
Calculating infomation in different rows cuzintone SQL Server 2000 7 March 6th, 2005 10:28 PM
Reading XMLHTTP response object in VB Script afrika_people Classic ASP XML 0 March 5th, 2005 08:22 AM
SESSION tracking natmaster Beginning PHP 1 August 18th, 2003 01:52 PM

All times are GMT -4. The time now is 12:40 PM.

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