Re: [WebDNA] add rows dynamically

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114292
interpreted = N
texte = 1901 --000000000000a4bfec056e868cb3 Content-Type: text/plain; charset="UTF-8" I might be misunderstanding the placement of the showif part in the solution/example provided I'm now getting a single column of 6 items. The end/start of a row or the next row seems to be messed up? On Wed, Jun 13, 2018 at 8:32 AM, Alex McCombie wrote: > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > [founditems] > > > [showif [index]\4][/showif] > [/founditems] > [/search] >
> >
> > > This is the easiest solution as it will simply make your rows 4 columns > wide each time. > > HTH > AJ > > > > On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski > wrote: > > > > I searched in the talklist archives, actually found entries and examples > on what might be part of the solution back in 2011 and similar years, but > for some reason, all the code is either jumbled or non-existent. > > > > After a search, I need to populate a table and have a maximum of 4 table > cells per row > > > > If the search returns 6 items, I need to add a second row. > > > > [showif [index]\4] > > seems to be part of the answer, but that's where I stopped seeing code > examples in the old archives > > > > This is my table/search code so far stripped down to the very basics. > > > > > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > > [founditems] > > > > > > > > [/founditems] > > [/search] > >
> > > >
> > > > > > What was I missing in those talklist entries??? > > > > > > > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list > talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: > http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us > archives: http://www.webdna.us/page.dna?numero=55 > Bug Reporting: support@webdna.us > --000000000000a4bfec056e868cb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I might be misunderstanding the placement of the showif=C2= =A0part in the solution/example provided

I'm now get= ting a single column of 6 items.
The end/start of a row or the ne= xt row seems to be messed up?


On Wed, Jun 13, 2018 at 8:32 AM, Alex McCo= mbie <alex@mccombie.com> wrote:
<table width=3D"100%" border=3D"0&= quot; align=3D"center">
[Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
[founditems]
<tr>
<td align=3D"center" width=3D"200">
<img src=3D"images/middle/[thumbnail]" border=3D"1&q= uot;>
</td>
[showif [index]\4]</tr><tr>[/showif]
[/founditems]
[/search]
</table>


This is the easiest solution as it will simply make your rows 4 columns wid= e each time.

HTH
AJ


> On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski <richiekwas@gmail.com> wrote:
>
> I searched in the talklist archives, actually found entries and exampl= es on what might be part of the solution back in 2011 and similar years, bu= t for some reason, all the code is either jumbled or non-existent.
>
> After a search, I need to populate a table and have a maximum of 4 tab= le cells per row
>
> If the search returns 6 items, I need to add a second row.
>
> [showif [index]\4]
> seems to be part of the answer, but that's where I stopped seeing = code examples in the old archives
>
> This is my table/search code so far stripped down to the very basics.<= br> >
> <table width=3D"100%" border=3D"0" align=3D&quo= t;center">
> [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
> [founditems]
> <tr>
> <td align=3D"center" width=3D"200">
> <img src=3D"images/middle/[thumbnail]" border=3D&quo= t;1">
> </td>
> </tr>
> [/founditems]
> [/search]
> </table>
>
>
> What was I missing in those talklist entries???
>
>
>
> -----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E= -mail to: talk-leave@webdna.us = archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us=

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-lea= ve@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting:
support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000a4bfec056e868cb3-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
  2. Re: [WebDNA] add rows dynamically (Alex Mccombie 2018)
  3. Re: [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
  4. Re: [WebDNA] add rows dynamically (Kenneth Grome 2018)
  5. Re: [WebDNA] add rows dynamically (Alex McCombie 2018)
  6. Re: [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
  7. Re: [WebDNA] add rows dynamically (Alex McCombie 2018)
  8. [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
1901 --000000000000a4bfec056e868cb3 Content-Type: text/plain; charset="UTF-8" I might be misunderstanding the placement of the showif part in the solution/example provided I'm now getting a single column of 6 items. The end/start of a row or the next row seems to be messed up? On Wed, Jun 13, 2018 at 8:32 AM, Alex McCombie wrote: > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > [founditems] > > > [showif [index]\4][/showif] > [/founditems] > [/search] >
> >
> > > This is the easiest solution as it will simply make your rows 4 columns > wide each time. > > HTH > AJ > > > > On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski > wrote: > > > > I searched in the talklist archives, actually found entries and examples > on what might be part of the solution back in 2011 and similar years, but > for some reason, all the code is either jumbled or non-existent. > > > > After a search, I need to populate a table and have a maximum of 4 table > cells per row > > > > If the search returns 6 items, I need to add a second row. > > > > [showif [index]\4] > > seems to be part of the answer, but that's where I stopped seeing code > examples in the old archives > > > > This is my table/search code so far stripped down to the very basics. > > > > > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > > [founditems] > > > > > > > > [/founditems] > > [/search] > >
> > > >
> > > > > > What was I missing in those talklist entries??? > > > > > > > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list > talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: > http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us > archives: http://www.webdna.us/page.dna?numero=55 > Bug Reporting: support@webdna.us > --000000000000a4bfec056e868cb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I might be misunderstanding the placement of the showif=C2= =A0part in the solution/example provided

I'm now get= ting a single column of 6 items.
The end/start of a row or the ne= xt row seems to be messed up?


On Wed, Jun 13, 2018 at 8:32 AM, Alex McCo= mbie <alex@mccombie.com> wrote:
<table width=3D"100%" border=3D"0&= quot; align=3D"center">
[Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
[founditems]
<tr>
<td align=3D"center" width=3D"200">
<img src=3D"images/middle/[thumbnail]" border=3D"1&q= uot;>
</td>
[showif [index]\4]</tr><tr>[/showif]
[/founditems]
[/search]
</table>


This is the easiest solution as it will simply make your rows 4 columns wid= e each time.

HTH
AJ


> On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski <richiekwas@gmail.com> wrote:
>
> I searched in the talklist archives, actually found entries and exampl= es on what might be part of the solution back in 2011 and similar years, bu= t for some reason, all the code is either jumbled or non-existent.
>
> After a search, I need to populate a table and have a maximum of 4 tab= le cells per row
>
> If the search returns 6 items, I need to add a second row.
>
> [showif [index]\4]
> seems to be part of the answer, but that's where I stopped seeing = code examples in the old archives
>
> This is my table/search code so far stripped down to the very basics.<= br> >
> <table width=3D"100%" border=3D"0" align=3D&quo= t;center">
> [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
> [founditems]
> <tr>
> <td align=3D"center" width=3D"200">
> <img src=3D"images/middle/[thumbnail]" border=3D&quo= t;1">
> </td>
> </tr>
> [/founditems]
> [/search]
> </table>
>
>
> What was I missing in those talklist entries???
>
>
>
> -----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E= -mail to: talk-leave@webdna.us = archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us=

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-lea= ve@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting:
support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000a4bfec056e868cb3-- . Richard Kwasniewski

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:

MacOS 9 => ODBC=> Ms SQL Server 7 (2000) Problem 2: Prefs file... (1997) NT considerations (1997) problems with 2 tags shakur (1997) Retrospect Backup Misses Empty Folders (2000) Shopping carts and reloading pages (1997) NYC-based WebDNA programmers (2003) ShowNext context limited to 500 hits? (2000) Range Comparisons (2000) Re:no template caching (1997) WebCatalog and Webstar 3.02 (1998) WebDNA on Windows questions (2007) same product in cart (1997) Listserver problem (1997) Quit revisited (1997) docs for WebCatalog2 (1997) formatting dates from a field ... (1997) Showif Context combined with Search (1997) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) RE: [WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020)