ANN Getting Nine digit zip codes

Dave Cragg dcragg at lacscentre.co.uk
Wed Apr 13 13:31:47 EDT 2005


On 13 Apr 2005, at 17:00, Howard Bornstein wrote:

> On 4/13/05, Jim Hurley <jhurley at infostations.com> wrote:
>>
>> on mouseUp
>>     put empty into field 1
>>
>>     put "Selection=" & 1 after tQuery
>>     put "&" after tQuery
>>     put "address1=" & urlEncode("123 BROAD ST") after tQuery
>>     put "&" after tQuery
>>     put "zipcode=" & 95959 after tQuery
>>
>>     put  "http://zip4.usps.com/zip4/zip4_responseA.jsp" into tUrl
>>
>>     post tQuery to url tUrl
>>     if the result <> empty then
>>       answer the result
>>     else
>>       set the htmltext of field 1 to  it
>>     end if
>>
>> end mouseUp
>
>
> Jim (or Dave),
>
> I put this in a card script and tried it and got nothing. Both "the
> result" and "it" came back empty. Any ideas?
>

Not really.

Have you tried post with other urls?

All I can suggest is to log the transaction (libUrlSetLogField the long 
id of field "myLog"), and see if that reveals anything.

Cheers
Dave



More information about the use-livecode mailing list