This topic is locked
[SOLVED]

 Track shipment

9/20/2012 12:36:10 AM
ASPRunnerPro General questions
Y
yahia author

Hello Dear admins and members

I just generate an application with a table called CONTAINERS with fields "containerNo" , LoadingDate", "Freight" , "weight"... Etc All my containers all shipped on Maersk Line shipping Co so I want to make the field "ContainerNo" appears with the container Number I Insert ( TCNU9657603 for example) and appear as a clickable link when I click on I can track the container by the Maerskline shipment tacking system in new page
the Maerskl;ine tracking page is http://www.maerskline.com/appmanager/maerskline/public?_nfpb=true&_nfls=false&_pageLabel=page_tracking3_trackSimple

Admin 9/20/2012

Yahia,
what would be the URL that displays tracking results for this container number (TCNU9657603)?
When I'm trying to track this container number and then click on container number link I get "An error has occurred" error message.

Y
yahia author 9/20/2012



Yahia,
what would be the URL that displays tracking results for this container number (TCNU9657603)?
When I'm trying to track this container number and then click on container number link I get "An error has occurred" error message.



Hello Admin

Thanks for your reply and hope u will understand my problem :

The maersk container tracking page url is : http://www.maerskline.com/appmanager/maerskline/public?_nfpb=true&_nfls=false&_pageLabel=page_tracking3_trackSimple then when opened I should write the container No TCNU9657603 in the form and submit by clicking on track button , what I need is to make the field "ConatinerNo" on my table as a clickable link to redirect to the result of the tracking of that container

Thanks again

Admin 9/20/2012

I guess you didn't understand my question.
Automatically writing something into the field on a third-party website is not possible. You need to figure out a direct URL on the Maersk website that displays tracking info. Not the form, but a complete tracking info.

Y
yahia author 9/21/2012

Thanks I am trying to understand

Y
yahia author 9/21/2012



Yahia,
what would be the URL that displays tracking results for this container number (TCNU9657603)?
When I'm trying to track this container number and then click on container number link I get "An error has occurred" error message.


Thanks Admin

I think I understood so the URL that displays tracking results for for (TCNU9657603) as example would be http://w ww.sh ippingline.org/track/?container=TCNU9657603, Thanks for explaning cause i just undertood the most important part and now just still need the code and where to put it

Admin 9/21/2012

Makes better sense. Here is the sample for your URL:

strValue = "<a href='http://www.shippingline.org/track/?container="; & strValue & "'>Track it</a>"
Y
yahia author 9/21/2012



Makes better sense. Here is the sample for your URL:

strValue = "<a href='http://www.shippingline.org/track/?container="; & strValue & "'>Track it</a>"




Thanks a lot the code the most of i want but i still have two question :

1- the field appear all with the "track It" and can not see the Container No , i want the container number to be click able

2- the tracking result i want it to be opened in a new page .

Admin 9/22/2012
strValue = "<a target=_blank href='http://www.shippingline.org/track/?container="; & strValue & "'>" & strValue & "</a>"
Y
yahia author 9/22/2012



Thanks a lot the code the most of i want but i still have two question :

1- the field appear all with the "track It" and can not see the Container No , i want the container number to be click able

2- the tracking result i want it to be opened in a new page .



Perfect Thank you very much , It is working very good Solved