Re: searching for items that begin with a number
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58322
interpreted = N
texte = The range method from "0" to "a" would also find records with NAMES exactly equal to "a".And the "le" method will NOT find records with NAMES beginning with 9 then a letter ("9BOB" > "9999999")And what of NAMES beginning with a punctuation character (e.g. "#BOB")? Are they an issue for you? Some of them are less than "0" (space, !, #), some are between "9" and "A" (:, ?, @) and others are greater than "Z" (\, _, {).Here's the set of NAMES I've been playing with:Fred#fred0493 bob 8899ZZZZZ9_bobAaBill 99catDogZZbobzzBOB[george]_dude{mike}I've tried group fields to search the NAMES field twice, but haven't come up with a single search that finds records either less than "A" or greater than "Z~~~~~~~~~~~".If you just need those with a digit for the first character, I'd suggest using "&rnNAMESdatarq=0 9~~~~~".- brianOn Jun 10, 2004, at 1:55 PM,
wrote:> Thanks for all the help.> Both search criterias work for me>> &rnNAMESdatarq=0 a> &leNAMESdatarq=9999999&NAMEStype=text>> Eduardo>> ----- Original Message -----> From: "Gary Krockover" > To: "WebDNA Talk" > Sent: Thursday, June 10, 2004 1:44 PM> Subject: Re: searching for items that begin with a number>>>> Ok, added it and this still works for me:>>>> [search db=data.db&rnNAMESdatarq=0 a]>> FOUND: [numfound]
>> [founditems]>> [names]
>> [/founditems]>> [/search]>>>> GK>>>> At 03:40 PM 6/10/2004, you wrote:>>> Hello Gary>>>>>> Your data.db is missing an item that has more than>>> 1 word w/ any words excluding first word beginning>>> with a number.>>>>>> i.e>>> bill 99>>>>>> Eduardo>>>>>> ------------------------------------------------------------->> 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/>-------------------------------------------------------------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:
The range method from "0" to "a" would also find records with NAMES exactly equal to "a".And the "le" method will NOT find records with NAMES beginning with 9 then a letter ("9BOB" > "9999999")And what of NAMES beginning with a punctuation character (e.g. "#BOB")? Are they an issue for you? Some of them are less than "0" (space, !, #), some are between "9" and "A" (:, ?, @) and others are greater than "Z" (\, _, {).Here's the set of NAMES I've been playing with:Fred#fred0493 bob 8899ZZZZZ9_bobAaBill 99catDogZZbobzzBOB[george]_dude{mike}I've tried group fields to search the NAMES field twice, but haven't come up with a single search that finds records either less than "A" or greater than "Z~~~~~~~~~~~".If you just need those with a digit for the first character, I'd suggest using "&rnNAMESdatarq=0 9~~~~~".- brianOn Jun 10, 2004, at 1:55 PM, wrote:> Thanks for all the help.> Both search criterias work for me>> &rnNAMESdatarq=0 a> &leNAMESdatarq=9999999&NAMEStype=text>> Eduardo>> ----- Original Message -----> From: "Gary Krockover" > To: "WebDNA Talk" > Sent: Thursday, June 10, 2004 1:44 PM> Subject: Re: searching for items that begin with a number>>>> Ok, added it and this still works for me:>>>> [search db=data.db&rnNAMESdatarq=0 a]>> FOUND: [numfound]
>> [founditems]>> [names]
>> [/founditems]>> [/search]>>>> GK>>>> At 03:40 PM 6/10/2004, you wrote:>>> Hello Gary>>>>>> Your data.db is missing an item that has more than>>> 1 word w/ any words excluding first word beginning>>> with a number.>>>>>> i.e>>> bill 99>>>>>> Eduardo>>>>>> ------------------------------------------------------------->> 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/>-------------------------------------------------------------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/
Brian Fries
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:
Restoring textarea stored in header (1998)
RE: [WebDNA] Brian Harrington (2019)
help (2000)
PCS Customer submissions ? (1997)
Roundup function? (1997)
Multiple catalog databases and showcart (1997)
WebCatalog 4.0 has been released! (2000)
FREE Stuff .. (2003)
Looking for a host (1997)
Problems with [Search] param - Mac Plugin b15 (1997)
functions... (2005)
Am I going senile? (Price recalc based on quantity) (1997)
OT - asp snippet similar to [!][/!] (2003)
Friendly , quick 'security' check, please (2003)
WebCatalog for Postcards ? (1997)
protect (summer holidays with wcat???) (2000)
Country & Ship-to address & other fields ? (1997)
Nav. 4 probs with cart - Serious problem (1997)
formulas.db ?? (1998)
Passwords, Subscription, DBs, oh my! (2000)