Formatting an embedded search from a neebie

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36500
interpreted = N
texte = I'm having trouble getting the right formatting to appear when using an embedded search (so that I can group results by a given criteria).I've attached the code below. (I'm still a WebCatalog neebie so please forgive me if I state the obvious!) [search db=catalog.db[hideif [ProductName]=][hideif [ProductName]=[raw][ProductName][/raw]]&eqProductNamedatarq=[ProductName][/h ideif][/hideif][hideif [ProductType]=][hideif [ProductType]=[raw][ProductType][/raw]]&eqProductTypedatarq=[ProductType][/h ideif][/hideif]&asProductNamesort=1&ProductNameSumm=T]....in here is code if the numfound=0 or 1...[showif [numfound]>1] [unurl][ProductType][/unurl]

[founditems] [unurl][ProductName][/unurl]

[search db=catalog.db[hideif [ProductName]=][hideif [ProductName]=[raw][ProductName][/raw]]&eqProductNamedatarq=[ProductName][/h ideif][/hideif]&asProductNamesort=1&asModelName=2][founditems] [showif [index]\3] [/showif] [hideif [numfound]\3] [/hideif]

[hideif
[unurl][Model Name][/unurl]
[unurl][Model Number][/unurl]

[/founditems][/search][/founditems][/search][/showif]...any suggestions? Suzanne------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Formatting an embedded search from a neebie (Suzanne Swift 2000)
I'm having trouble getting the right formatting to appear when using an embedded search (so that I can group results by a given criteria).I've attached the code below. (I'm still a WebCatalog neebie so please forgive me if I state the obvious!) [search db=catalog.db[hideif [ProductName]=][hideif [ProductName]=[raw][ProductName][/raw]]&eqProductNamedatarq=[ProductName][/h ideif][/hideif][hideif [ProductType]=][hideif [ProductType]=[raw][ProductType][/raw]]&eqProductTypedatarq=[ProductType][/h ideif][/hideif]&asProductNamesort=1&ProductNameSumm=T]....in here is code if the numfound=0 or 1...[showif [numfound]>1] [unurl][ProductType][/unurl]

[founditems] [unurl][ProductName][/unurl]

[search db=catalog.db[hideif [ProductName]=][hideif [ProductName]=[raw][ProductName][/raw]]&eqProductNamedatarq=[ProductName][/h ideif][/hideif]&asProductNamesort=1&asModelName=2][founditems] [showif [index]\3] [/showif] [hideif [numfound]\3] [/hideif]

[url][ModelNumber]_thum b.jpg[/url][/showif][showif [fileinfo images/[ModelNumber]_thumb.jpg][exists][/fileinfo]=F]noimage_thumb.gif[/show if] alt=[hideif [Manufacturer]=][Manufacturer] - [/hideif][unurl][ModelNumber][/unurl] width=80 height=100 vspace=5 border=1>
[url][ModelNumber][/url]>[unurl][Model Name][/unurl]
[url][ModelNumber][/url]>[unurl][Model Number][/unurl]

[/founditems][/search][/founditems][/search][/showif]...any suggestions? Suzanne------------------------------------------------------------- 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://search.smithmicro.com/ Suzanne Swift

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:

Error 11 (1996) Firesite Round 2 (1999) Ends With (2003) Upgrade to WebCat2 from Commerce Lite (1997) [lineitems] (2000) ListDatabases & ShowIf (2003) autosensing lanague selection (1997) BUG in [showif] using ^ (contains) (1997) Robots fill event log (1997) New Line In grep (2003) Adding to Cart (2004) Multiple instances of database (2003) Problem upgrading from 3.0.8 to 4.0 on MS Windoze 98 / PWS (2000) URGENT: WebDNA Server Not Running (2003) Simple way to create unique SKU (1997) search command (1999) WebSTAR plugin update (2004) Generic HDR file (2000) WC2b12: Yes, Formulas.db is for real (1997) 2.0Beta Command Ref (can't find this instruction) (1997)