Re: Summary layout

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14998
interpreted = N
texte = Pat, Here's a code snippet you posted earlier. I'm curious as to whether this was actually working for you. I've tried this with my fields but I keep getting multiple displays of the indexed field (your *brand* field). Pat wrote: >I'm currently trying this approach: > >[founditems] > >[showif [index]=1] > [brand] > >[/showif] > >[showif [index]>1] > [showif [index]\2] > [showif [brand]![math]lastbrand[/math]] > [brand] > > [/showif] > [/showif] > [hideif [index]\2] > [showif [brand]![math]lastbrand[/math]] > [brand] > > [/showif] > [/hideif] >[/showif] > >[description] > >[/founditems] > > >I haven't debugged this so I don't know if it toggles properly, but I'm just >trying to use a form variable (lastbrand) to cache the [brand] of the prevoius >record. Needless to say, I'm going buggy with this approach. A hostage crisis >may be at hand. Thanks -marty Associated Messages, from the most recent to the oldest:

    
  1. Re: Summary layout (Marty Schmid 1997)
  2. Re: Summary layout (Pat McCormick 1997)
  3. Re: Summary layout (Marty Schmid 1997)
  4. Re: Summary layout (Pat McCormick 1997)
  5. Re: Summary layout (Pat McCormick 1997)
  6. Re: Summary layout (Grant Hulbert 1997)
  7. Summary layout (Pat McCormick 1997)
Pat, Here's a code snippet you posted earlier. I'm curious as to whether this was actually working for you. I've tried this with my fields but I keep getting multiple displays of the indexed field (your *brand* field). Pat wrote: >I'm currently trying this approach: > >[founditems] > >[showif [index]=1] > [brand] > [math]lastbrand=[brand][/math]> >[/showif] > >[showif [index]>1] > [showif [index]\2] > [showif [brand]![math]lastbrand[/math]] > [brand] > [math]lastbrand=[brand][/math]> > [/showif] > [/showif] > [hideif [index]\2] > [showif [brand]![math]lastbrand[/math]] > [brand] > [math]lastbrand=[brand][/math]> > [/showif] > [/hideif] >[/showif] > >[description] > >[/founditems] > > >I haven't debugged this so I don't know if it toggles properly, but I'm just >trying to use a form variable (lastbrand) to cache the [brand] of the prevoius >record. Needless to say, I'm going buggy with this approach. A hostage crisis >may be at hand. Thanks -marty Marty Schmid

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:

Location of Browser Info.txt file (1997) Date stamp and purging (1998) There's a bug in the math context ... (1997) Cart Number sequence (1997) Req: Array Tags Explained, simple and clear (2004) PCS Frames (1997) Single Link browsing (1997) RAM variables (1997) WebDNA 6 (2004) Append File help needed (2000) Alex's detailed WebMerchant questions (1998) Date search - yes or no (1997) Fw: [SQL] and [index] mystery solved (2001) Problem with [math] (2000) Personal Web Server combined with Webcatalog 2.1 (1998) Re[3]: 2nd WebCatalog2 Feature Request (1996) WebCat2 - Getting to the browser's username/password data (1997) webcat nt (1997) website hosters using webcat? (1999) Adding Multiple files to a cart at once (1998)