Re: [WebDNA] Filtering exact numbers
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101319
interpreted = N
texte = You're not posting the actual code you're using. Please post the actual code then we can fix it for you so it works the way you want.Sincerely,Ken Grome> Hi,>> I'm trying to filter serial numbers and have run into a> glitch in my programming. Can anyone see how to fix it?>> Here's what I'm trying to do:>> Step 1: Generate a list of serial numbers using a> standard search>> [search db=myfirst.db]> [text] TheList =[/text]>> [founditems]> [text]TheList=[TheList][SerialNumberFromDatabaseOne]> [/text] [/founditems]>> Step 2: Compare this list to a 2nd list of serial> numbers, also generated by a search, and include only> serial numbers that are on both lists>> [search db=mysecond.db]>> [founditems]>> [showif [url]> [TheList][/url]^[url][SerialNumberFromDatabaseTwo][/url]]>> The problem I am running into is that some of the values> included in [TheList] are very long (i.e. 79873966092380)> and some of the values for [SerialNumberFromDatabaseTwo]> are very short (i.e. 3966) so on occasion the value of a> "SerialNumberFromDatabaseTwo" is found WITHIN a value of> a SerialNumberFromDatabaseOne that appears on "TheList"> so data for serial numbers that don't "match" is included> in my results.>> Is there any way to allow the value of a "SerialNumber"> to be shown only if it exactly matches an entire serial#?>> Thanks!> Suzanne Swift> SpecSimple.com>> Where the World of Design Connects>>> ---------------------------------------------------------> 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> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
You're not posting the actual code you're using. Please post the actual code then we can fix it for you so it works the way you want.Sincerely,Ken Grome> Hi,>> I'm trying to filter serial numbers and have run into a> glitch in my programming. Can anyone see how to fix it?>> Here's what I'm trying to do:>> Step 1: Generate a list of serial numbers using a> standard search>> [search db=myfirst.db]> [text] TheList =[/text]>> [founditems]> [text]TheList=[TheList][SerialNumberFromDatabaseOne]> [/text] [/founditems]>> Step 2: Compare this list to a 2nd list of serial> numbers, also generated by a search, and include only> serial numbers that are on both lists>> [search db=mysecond.db]>> [founditems]>> [showif [url]> [TheList][/url]^[url][SerialNumberFromDatabaseTwo][/url]]>> The problem I am running into is that some of the values> included in [TheList] are very long (i.e. 79873966092380)> and some of the values for [SerialNumberFromDatabaseTwo]> are very short (i.e. 3966) so on occasion the value of a> "SerialNumberFromDatabaseTwo" is found WITHIN a value of> a SerialNumberFromDatabaseOne that appears on "TheList"> so data for serial numbers that don't "match" is included> in my results.>> Is there any way to allow the value of a "SerialNumber"> to be shown only if it exactly matches an entire serial#?>> Thanks!> Suzanne Swift> SpecSimple.com>> Where the World of Design Connects>>> ---------------------------------------------------------> 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> old archives: http://dev.webdna.us/TalkListArchive/
Kenneth Grome
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:
Running _every_ page through WebCat-error.html (1997)
errors 550, and 108 (1998)
TCP Connect (2000)
My solution... (1996)
Re:[off] Promotions Co? (1997)
Help formatting search results w/ table (1997)
Separate SSL Server (1997)
WebCat2 - Getting to the browser's username/password data (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
[WebDNA] Re-sending email (2018)
[BULK] [WebDNA] A new commerce system for v7+ (2011)
RE: NewCart+Search with one click ? (1997)
Download (1999)
ANNC: Cool New WebCat Site!!! (Lotsa Flash) (2000)
Replace/Commit not Replacing/Commiting (2000)
hidden (phantom) file downloads (2000)
referrer usage (1997)
Virtual hosting and webcatNT (1997)
Credit Card Number checking (1997)
I'm having trouble using [url][interpret][math] together in lookup (1997)