Re: multiple record replace
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39941
interpreted = N
texte = I spoke to soon, the problem is you are going to get stuck on current = 1 I thinkin your found items loop. but, my solution won't work either becuase it interpret thecode below it on the same found item. I think you will have to re figure something.Donovan Brooke wrote:> Stephen Russo wrote:>> > I'm trying to list results of products and have a white line then a yellow> > line then a white line and so forth.> > I keep duplicating the results. Here is my code:> >> > [text]current=0[/text]> > [search> > db=database/inventory.db&eqsubCategorydatarq=[url][subCategory][/url]&Titles> > ort=1&max=50&startat=[url][startat] [/url]]> > [founditems]> > [showif [current]=1]> >
> > > size=2>[title] | > > > size=2>[price] | > > > href=detail.tpl?sku=[sku]>Details | > > Add to> > Cart | > >
>> shouldn't you set [current] to 0 again at this point?>> >> > [/showif]> >> > [showif [current]=0]> >
> > > size=2>[title] | > > > size=2>[price] | > > > href=detail.tpl?sku=[sku]>Details | > > Add to> > Cart | > >
> >> > [text]current=1[/text]> > [/showif]> > [/founditems]> >> > Any thoughts why it is duplicating?> >> > S-> >>-- Donovan D. BrookeSystems Administrator/Assc. Art DirectorEpsen Hillmer Graphics(402) 342-7000 X297I know I'm making progress when I look at the questions I haveasked in the past and think to myself... how stupid was that-------------------------------------------------------------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:
I spoke to soon, the problem is you are going to get stuck on current = 1 I thinkin your found items loop. but, my solution won't work either becuase it interpret thecode below it on the same found item. I think you will have to re figure something.Donovan Brooke wrote:> Stephen Russo wrote:>> > I'm trying to list results of products and have a white line then a yellow> > line then a white line and so forth.> > I keep duplicating the results. Here is my code:> >> > [text]current=0[/text]> > [search> > db=database/inventory.db&eqsubCategorydatarq=[url][subCategory][/url]&Titles> > ort=1&max=50&startat=[url][startat] [/url]]> > [founditems]> > [showif [current]=1]> > > > > size=2>[title] | > > > size=2>[price] | > > > href=detail.tpl?sku=[sku]>Details | > > Add to> > Cart | > >
>> shouldn't you set [current] to 0 again at this point?>> >> > [/showif]> >> > [showif [current]=0]> > > > > size=2>[title] | > > > size=2>[price] | > > > href=detail.tpl?sku=[sku]>Details | > > Add to> > Cart | > >
> >> > [text]current=1[/text]> > [/showif]> > [/founditems]> >> > Any thoughts why it is duplicating?> >> > S-> >>-- Donovan D. BrookeSystems Administrator/Assc. Art DirectorEpsen Hillmer Graphics(402) 342-7000 X297I know I'm making progress when I look at the questions I haveasked in the past and think to myself... how stupid was that-------------------------------------------------------------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/
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:
My Eyes doth deceive me (2002)
db security on NT (1997)
Protect (1997)
Shopping cart not being assigned (1999)
calculating tax rates, mail order solutions and version 2 (1997)
multi-part email syntax (2001)
WebCat2b15MacPlugin - [protect] (1997)
Good vs. Bad; also [setHeader] (2002)
autocommit problem (1998)
build a select list from a db search (2004)
Sensations (1997)
What about the fixes that were promised for 5.2 ? (2004)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
[WebDNA] total (2010)
Time Tracking (2003)
validatin (1998)
HTML Editors (1997)
More on the email templates (I like it) (1997)
[WriteFile] problems (1997)
Re:quit command on NT (1997)