Re: looping table rows

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23748
interpreted = N
texte = Since you're in the loop context use the [index] tag and the mod function % to solve you're problem.Mod function returns integer remainder when doing integer division. Very useful in programming. [LOOP] [showif [math][index]%4[/math]=0][/showif] [/LOOP]
DATA TO DISPLAY
Something like this should work for you. This could also be used in at founditem context. Associated Messages, from the most recent to the oldest:

    
  1. Re: looping table rows (John Winningham 1999)
  2. Re: looping table rows (Dennis J. Bonsall, Jr. 1999)
  3. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  4. Re: % (mod) was Re: looping table rows (PCS Technical Support 1999)
  5. Re: looping table rows (charles kline 1999)
  6. Re: looping table rows (charles kline 1999)
  7. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  8. Re: % (mod) was Re: looping table rows (RH Prouty 1999)
  9. Re: % (mod) was Re: looping table rows (Kenneth Grome 1999)
  10. Re: looping table rows (Brian Willson 1999)
  11. Re: looping table rows (charles kline 1999)
  12. % (mod) was Re: looping table rows (Michael Winston 1999)
  13. Re: looping table rows (charles kline 1999)
  14. Re: looping table rows (PCS Technical Support 1999)
  15. Re: looping table rows (Kenneth Grome 1999)
  16. Re: looping table rows (Michael Winston 1999)
  17. Re: looping table rows (Kenneth Grome 1999)
  18. Re: looping table rows (charles kline 1999)
  19. Re: looping table rows (Kenneth Grome 1999)
  20. Re: looping table rows (Josh Tiger 1999)
  21. looping table rows (Phil Herring 1999)
Since you're in the loop context use the [index] tag and the mod function % to solve you're problem.Mod function returns integer remainder when doing integer division. Very useful in programming. [loop] [showif [math][index]%4[/math]=0][/showif] [/LOOP]
DATA TO DISPLAY
Something like this should work for you. This could also be used in at founditem context. Josh Tiger

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:

Duplicates (1998) The code, one more time. (2003) [WebDNA] WebDNA installers (2014) RE: WebCatalog2 for NT Beta Request (1997) More questions about serial number dishing (1997) Nested Loops and SHOWIFs (1997) WC2b15 File Corruption (1997) OT - robots.txt (2003) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) ShoppingCart removal (2002) Bug Report, maybe (1997) Server capacity (2003) Shipcost update problem (1997) Custom formulas.db (1998) WCS Newbie question (1997) Taxable Shipping (2003) Templates for Customer Database? (1997) 2nd WebCatalog2 Feature Request (1996) Filemaker Pro Template for Orders (1999) Error Log.db --however (1997)