Re: Negative Range Error
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48791
interpreted = N
texte = Well, according to the docs: When specifying a range, the smaller valuemust precede the larger value. Bit vague that in terms of negatives. Iwould assume that the larger negative number would need to go first. Butapart from that theorising, I'm wondering if it would help to put in a wbrkdelimiter. Because you have a '-' and a '.' it might help to specify a wbrkthat is different to that.Unfortunately I have no idea whether a negative value is even allowed...Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Brian Boegershausen
> Reply-To: (WebDNA Talk)> Date: Wed, 19 Mar 2003 16:31:39> To: (WebDNA Talk)> Subject: Negative Range Error> > Has anyone successfully written code to do a search using the range function> that has negative numbers?> > I am having many problems getting my search working for finding the radius> around a zip code by latitude and longitude.> It works find for long/lats that are not negative numbers, but once I> introduct a - in there, I do not get any results.> > Here is my search:> > db=coordinants.db&rnLATITUDEdatarq=47.391072> 47.680736&rnLONGITUDEdatarq=-52.998186 -53.427236&LATITUDEtype=num&LONGITUDE> type=num&asSTATEsort=1&asZIPCODEsort=2&ZIPCODEsumm=T> > > I get the same bad results if I switch the 2 coordinants in the longitude> around.> I had a thought of just getting rid of the - signs in there, but some of my> coordinants are around the pos neg border and it will not produce the> correct results.> > Brian> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Well, according to the docs: When specifying a range, the smaller valuemust precede the larger value. Bit vague that in terms of negatives. Iwould assume that the larger negative number would need to go first. Butapart from that theorising, I'm wondering if it would help to put in a wbrkdelimiter. Because you have a '-' and a '.' it might help to specify a wbrkthat is different to that.Unfortunately I have no idea whether a negative value is even allowed...Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Brian Boegershausen > Reply-To: (WebDNA Talk)> Date: Wed, 19 Mar 2003 16:31:39> To: (WebDNA Talk)> Subject: Negative Range Error> > Has anyone successfully written code to do a search using the range function> that has negative numbers?> > I am having many problems getting my search working for finding the radius> around a zip code by latitude and longitude.> It works find for long/lats that are not negative numbers, but once I> introduct a - in there, I do not get any results.> > Here is my search:> > db=coordinants.db&rnLATITUDEdatarq=47.391072> 47.680736&rnLONGITUDEdatarq=-52.998186 -53.427236&LATITUDEtype=num&LONGITUDE> type=num&asSTATEsort=1&asZIPCODEsort=2&ZIPCODEsumm=T> > > I get the same bad results if I switch the 2 coordinants in the longitude> around.> I had a thought of just getting rid of the - signs in there, but some of my> coordinants are around the pos neg border and it will not produce the> correct results.> > Brian> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Tim Robinson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
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...
Related Readings:
TCPConnect / Current Temperature (2004)
FREE Stuff .. (2003)
Using Applescript to process WebCatalog functions (1998)
emailer (1997)
Duplicate Cart Problem in Netscape (2000)
[OT] (waaaay OT) further off topic than before (2004)
Problems getting parameters passed into email. (1997)
WebCatalog for guestbook ? (1997)
Listserver problem (1997)
Remove (2000)
[WebDNA] TCPConnect example doesn't work (2017)
cart ID (1998)
HELP WITH DATES (1997)
My slower response (1997)
Public beta 2 for WebCatalog 4.0 is now available. (2000)
Replace Statement (1997)
ShowNext example for GeneralStore (1997)
Instructions for Digest (1997)
ShowNext for method=POST (1997)
TCPConnect misbehavin' for me. (2000)