Re: [WebDNA] add rows dynamically

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114295
interpreted = N
texte = 1904 --0000000000005f1a3d056e8b7b8e Content-Type: text/plain; charset="UTF-8" Thanks Ken. Your version worked. Alex - your version made all the table cells vertical in one long column for some weird reason. Not sure why. Might play with yours a bit more to see if I was doing something wrong. Just tried it again carefully using your code and the same happened, one long vertical column for all the table cells. On Wed, Jun 13, 2018 at 9:54 AM, Kenneth Grome wrote: > This is how I do it. It is the simplest possible code and it has > always worked for me: > > [search] > > > > [founditems] > > [showif [index]\4][/showif] > [/founditems] > > >
[fieldname]
> [/search] > > There are only two possible issues here: > > 1- The [fieldname] field contains HTML tags that could screw up > the dynamic table layout. > > 2- This code might put a blank line after the table that you may > not want there for some reason. > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration > > > > On 06/13/2018 08:32 AM, Alex McCombie wrote: > > > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > > [founditems] > > > > > > [showif [index]\4][/showif] > > [/founditems] > > [/search] > >
> > > >
> --------------------------------------------------------- > 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 > --0000000000005f1a3d056e8b7b8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Ken.
Your version worked.

<= div>=C2=A0Alex - your version made all the table cells vertical in one long= column for some weird reason. Not sure why.
Might play with your= s a bit more to see if I was doing something wrong.
Just tried it= again carefully using your code and the same happened, one long vertical c= olumn for all the table cells.



=



On Wed, Jun 13, 2018 at 9:54 AM, Kenneth Grome <ken@webdnasolutions.com> wrote:
This is how I do it.=C2=A0 It is the simplest possible code and i= t has
always worked for me:

[search]
<table>
<tr>

[founditems]
<td nowrap>[fieldname]</td>
[showif [index]\4]</tr><tr>[/showif]
[/founditems]

</tr>
</table>
[/search]

There are only two possible issues here:

1- The [fieldname] field contains HTML tags that could screw up
the dynamic table layout.

2- This code might put a blank line after the table that you may
not want there for some reason.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database Systems and Linux Server Administration



On 06/13/2018 08:32 AM, Alex McCombie wrote:
> <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>
> [showif [index]\4]</tr><tr>[/showif]
> [/founditems]
> [/search]
> </table>
----------------------------= -----------------------------
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 --0000000000005f1a3d056e8b7b8e-- . 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)
1904 --0000000000005f1a3d056e8b7b8e Content-Type: text/plain; charset="UTF-8" Thanks Ken. Your version worked. Alex - your version made all the table cells vertical in one long column for some weird reason. Not sure why. Might play with yours a bit more to see if I was doing something wrong. Just tried it again carefully using your code and the same happened, one long vertical column for all the table cells. On Wed, Jun 13, 2018 at 9:54 AM, Kenneth Grome wrote: > This is how I do it. It is the simplest possible code and it has > always worked for me: > > [search] > > > > [founditems] > > [showif [index]\4][/showif] > [/founditems] > > >
[fieldname]
> [/search] > > There are only two possible issues here: > > 1- The [fieldname] field contains HTML tags that could screw up > the dynamic table layout. > > 2- This code might put a blank line after the table that you may > not want there for some reason. > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration > > > > On 06/13/2018 08:32 AM, Alex McCombie wrote: > > > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > > [founditems] > > > > > > [showif [index]\4][/showif] > > [/founditems] > > [/search] > >
> > > >
> --------------------------------------------------------- > 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 > --0000000000005f1a3d056e8b7b8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Ken.
Your version worked.

<= div>=C2=A0Alex - your version made all the table cells vertical in one long= column for some weird reason. Not sure why.
Might play with your= s a bit more to see if I was doing something wrong.
Just tried it= again carefully using your code and the same happened, one long vertical c= olumn for all the table cells.



=



On Wed, Jun 13, 2018 at 9:54 AM, Kenneth Grome <ken@webdnasolutions.com> wrote:
This is how I do it.=C2=A0 It is the simplest possible code and i= t has
always worked for me:

[search]
<table>
<tr>

[founditems]
<td nowrap>[fieldname]</td>
[showif [index]\4]</tr><tr>[/showif]
[/founditems]

</tr>
</table>
[/search]

There are only two possible issues here:

1- The [fieldname] field contains HTML tags that could screw up
the dynamic table layout.

2- This code might put a blank line after the table that you may
not want there for some reason.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database Systems and Linux Server Administration



On 06/13/2018 08:32 AM, Alex McCombie wrote:
> <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>
> [showif [index]\4]</tr><tr>[/showif]
> [/founditems]
> [/search]
> </table>
----------------------------= -----------------------------
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 --0000000000005f1a3d056e8b7b8e-- . 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:

For those of you not on the WebCatalog Beta... (1997) Signal Raised Error (1997) Associative lookup style? + bit more (1997) RequiredFields template (1997) $Replace with [founditems] (1997) Is there a way......... (2000) shipping costs (1997) ERASING DATABASE (1997) 4.5 Upgrade (2003) OT: WebDNA and LINUX (2004) using showpage and showcart commands (1996) multi-paragraph fields (1997) [WebDNA] 2nd pair of eyes on redirect please (2011) Loosing Quantity (2000) Multiple prices (1997) Emailer not working (1998) Email...Thanks (1997) Multiple serial numbers (1997) WC 2.0 frames feature (1997) WebCatalog 4.0.1 has been released! (2000)