|
I used to have a great zipcode sear=ch db and code example that uses radius and the long/lat of the searched zi=pcode.
Let me see if i can dig that up today.
Brian
Get Outlook for Android
<=div class=3D"">BTW zip codes aren=E2=80=99t numbered according to location; t=hey are assigned alphabetically, within the 3 digit region. Check a list of= your own area=E2=80=99s zip codes, sorted by city alphabetically, and you==E2=80=99ll see the correlation. So, 12301 and 12302 could be on opposite e=nds of the region, while 12399 could be right next door to 12301. The numbe=r value has nothing to do with its location relative to one another. <=br class=3D"">On Apr 19, 2017, at 8:56 PM, Donovan Brooke &l=t;dbrooke@euca.us> wro=te:<=div dir=3D"auto" class=3D"">---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listGlad you got it sorted. =div>.5 is numerically =within 1 digit of 2, so it makes sense to me. If you were delivering pizzas= to zip codes close to a central zip, you'd leave out some hungry customers= if you only delivered to the greater zip codes.=
D. Brooke MobileThanks for the= proof Donovan .---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOK, I =have it working now, I re-keyed the search, maybe there was a typo I missed=..I did find that this:= clGRADEdata=3D2&clGRADEdata=3D1&GRADEtype=3Dnumproduced results with .5 in it1
2
1
2
.5
.5
1
.5.=5
.5
.5
.5
1
1
1
1
1
3.5 is less than 1 so it should not appear.On 20 Apr 2017, at 13:25, Donovan Brooke <dbrooke@euca.us> wrote:If you are seeing= different results, maybe post your code (with [product] [platform] and [ve=rsion].. something similar to what I did.
Dono=van
On Apr 19, 2=017, at 10:20 PM, Stuart Tremain <webdna@idfk.com.au> wrote:
<=blockquote type=3D"cite" class=3D"">Mmmm, thanks, I think =E2=80=A6=E2=80==A6
Kind regards=
Stuart Tremain
Pharoah Lane Sof=tware
AUSTRALIA
webdna@idfk.com.auOn 20 Apr 2017, at 13:16, Donovan Brooke &l=t;dbrooke@euca.us> wro=te:
Works here:
http://www.euca.us/admin/tests/cl=/
Donovan
On Apr 19, 2017, at 9:30 PM, Stua=rt Tremain <webdna@idfk=..com.au> wrote:I am looking at using the cl comparison in a search but can==E2=80=99t get it to work properly, the instructions seem a little odd too:=
close to (numeric only). clZipCodedata=3D9206=9&clZipCodedata=3D10 finds all records whose ZipCode field is within 10= of 92069 (92059 - 92079)
Using the above inst=ructions I have a search that produces 0 results
clGRADEdatar=q=3D4&clGRADEdatarq=3D1&GRADEtype=3Dnum
I would expec=t that the search would return all rows with grade =3D 3 or 4 or 5
This also produces 0 results
clGRADEdata==3D4&clGRADEdata=3D1&GRADEtype=3Dnum
<=br class=3D"">This does produce results but only when the GRADE =3D 4
clGRADEdata=3D4
Any ideas ?
WebDNA Se=rver version 6.2
Kind regards
Stuart Tremain
Pharoah Lane Softw=are
AUSTRALIA
webdna@idfk.com.au
-------=-------------------------------------------------- This message is sent to =you because you are subscribed to the mailing list . To unsubscribe, E-mail= to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
---------------------------------------------=------------
This message is sent to you because you are subs=cribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail= to: <talk-leave@webd=na.us>
archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
----------=----------------------------------------------- This message is sent to you= because you are subscribed to the mailing list . To unsubscribe, E-mail to=: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
--------------------------------------------------=-------
This message is sent to you because you are subscribe=d to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: =<talk-leave@webdna.us=>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: supp=ort@webdna.us.To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webd=na.us .To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webd=na.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...