close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How to add UPS shipping?

Thread began 11/06/2009 12:18 pm by asksales313066 | Last modified 3/15/2010 7:11 pm by asksales313066 | 3539 views | 25 replies

Eric Mittman

Sorry about that, the dim in front of that line is throwing it off. You should be able to just remove the dim from the line that is defaulting the session variable before the case like this:

<%
Session("UPS_ServiceName") = ""
select case Session("UPS_Service")
case "01"
Session("UPS_ServiceName") = "Next Day Air"
case "02":
Session("UPS_ServiceName") = "2nd Day Air"
case "03":
Session("UPS_ServiceName") = "Ground"
case "07":
Session("UPS_ServiceName") = "Worldwide Express"
case "08":
Session("UPS_ServiceName") = "Worldwide Expedited"
case "11":
Session("UPS_ServiceName") = "Standard"
case "12":
Session("UPS_ServiceName") = "3 Day Select"
case "13":
Session("UPS_ServiceName") = "Next Day Air Saver"
case "14":
Session("UPS_ServiceName") = "Next Day Air Early AM"
case "54":
Session("UPS_ServiceName") = "Worldwide Express Plus"
case "59":
Session("UPS_ServiceName") = "2nd Day Air AM"
case "65":
Session("UPS_ServiceName") = "Express Saver"
case else
Session("UPS_ServiceName") = "NA"
End Select
%>



It seems that dimensioning a variable and setting the value in a single step is not a good idea.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...