Re: [WebDNA] Filtering exact numbers
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101324
interpreted = N
texte = Suzanne Swift wrote:[snip]> Is there any way to allow the value of a "SerialNumber" to be shown > only if it exactly matches an entire serial#?Hi Susan, yes, you need to create a start/end for each SN in your list:[text]testlist1=-123456-|-567890-[/text][text]testlist2=-3456-|-123456-[/text][listwords words=[testlist2]&delimiters=|] [showif [url][testlist1][/url]^[url][word][/url]] list one contains [grep search=-&replace=][word][/grep] exactly. [/showif][/listwords]note, you can use any start and end character, as well as any delimiter..just be sure neither will be in your serial number list.Donovan-- Donovan D. Brooke PH/FAX: 1 (608) 291-2024----------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
Suzanne Swift wrote:[snip]> Is there any way to allow the value of a "SerialNumber" to be shown > only if it exactly matches an entire serial#?Hi Susan, yes, you need to create a start/end for each SN in your list:
[text]testlist1=-123456-|-567890-[/text]
[text]testlist2=-3456-|-123456-[/text][listwords words=[testlist2]&delimiters=|] [showif
[url][testlist1][/url]^
[url][word][/url]] list one contains [grep search=-&replace=][word][/grep] exactly. [/showif][/listwords]note, you can use any start and end character, as well as any delimiter..just be sure neither will be in your serial number list.Donovan-- Donovan D. Brooke PH/FAX: 1 (608) 291-2024----------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Donovan Brooke
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:
RSS Feeds; basic info (2005)
Formulas.db + Users.db (1997)
Need example sites for seminar; will plug you too (1998)
taxTotal, grandTotal (1997)
back one? (2000)
WebCatalog Mac 2.1b3 (1997)
different browser, different result (2000)
WebCatalog for Postcards ? (1997)
Extended [ConvertChars] (1997)
Triggers (2001)
Protect vs Authenicate (1997)
can WC render sites out? (1997)
WebDNA-generated email headers (2003)
[ShowIf] a either fields are blank (1998)
using showpage and showcart commands (1996)
WebCat2: Items xx to xx shown, etc. (1997)
(OT) Support system (2000)
Site Search Concepts (2003)
Replace Statement (1997)
Re:Searching for ALL / empty form field (1997)