Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UPS Tracking
Message
 
To
26/09/2001 15:57:45
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00561038
Message ID:
00561216
Views:
22
Hello Jerry,

Thanks for the input, this is similar to what I'm already doing except I parse the info returned to put info back into my table. The API stuff would probally be more efficient but I already knew this technique and it works for alot of things similar to this.

Bob

>We have an on-line ordering / order status system we wrote using VFP6 and West-Wind.
>
>On our order status form, we show the customer their UPS tracking number and we also hyperlink the tracking number to the UPS website so the customer can see it's shipping status.
>
>This might not be what you are looking for but here's how we hyperlink to UPS:
>
>
>
>***Define vars that hold the start and ending string to UPS tracking.
>#DEFINE TR_UPS_START  "http://wwwapps.ups.com/etracking/tracking.cgi?tracknums_displayed=1&TypeOfInquiryNumber=T&HTMLVersion=4.0&InquiryNumber1="
>#DEFINE TR_UPS_END    "&track.x=10&track.y=9"
>
>***Insert customer tracking number.
>lclink = TR_UPS_START + lc_trackingno + TR_UPS_END
>
>***Create hyperlink syntax.
>***LCSTARTHREF and LCENDHREF must be defined with ahref anchor and end anchor syntax.
>lclink = LCSTARTHREF + ;
>  lclink + ;
>  "'>" + ;
>  lc_trackingno + ;
>  LCENDHREF
>
>RETURN lclink
>
>
>
>We then insert the string into a web page and return the results to the user. They can then click the hyperlink to go to the UPS site to view their shipping status.
>
>
>
>
>
>>Hello all,
>>
>>Anybody using VFP to check tracking of packages shipped by UPS. They seem to offer several tools to do so and I am wondering what sucess others have had with this. It seems you can send a CGI request to their website then parse the result, prep an email and parse the return email, or send a CSV file and get one returned. They also have some API samples, but I didn't see any VFP examples and it looks more cumbersome than the other methods.
>>
>>Thanks in advance
>>
>>Bob
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Reply
Map
View

Click here to load this message in the networking platform