[showif [index]\4] |
[fieldname] | >> [showif [index]\4]
>> > >> > | >> > [showif [index]\4]
=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail-12E583AE-9BE6-468E-A6D7-4D06CC88002D--. Associated Messages, from the most recent to the oldest:Thanks Ken.Your version worked.=Alex - your version made all the table cells vertical i=n one long column for some weird reason. Not sure why.Might play w=ith yours a bit more to see if I was doing something wrong.Just t=ried it again carefully using your code and the same happened, one long vert=ical column for all the table cells.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leav=e@webdna.usarchives: http://www.w=ebdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.usOn Wed, Jun 13, 2018 at 9:54 AM, Kenneth Grome <=span dir=3D"ltr"><ken@webdnasolutions.com> wrote:This is how I do it. It is the simplest possible code and it h=as
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"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">
> </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-leav=e@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55 <=br>Bug Reporting: support@webdna.us
1905--Apple-Mail-12E583AE-9BE6-468E-A6D7-4D06CC88002DContent-Type: text/plain;charset=utf-8Content-Transfer-Encoding: quoted-printableI see why. The last hideif was supposed to be within the last showif. =20Here=E2=80=99s corrected code. =20
- Re: [WebDNA] add rows dynamically (Richard Kwasniewski
2018) - Re: [WebDNA] add rows dynamically (Alex Mccombie
2018) - Re: [WebDNA] add rows dynamically (Richard Kwasniewski
2018) - Re: [WebDNA] add rows dynamically (Kenneth Grome
2018) - Re: [WebDNA] add rows dynamically (Alex McCombie
2018) - Re: [WebDNA] add rows dynamically (Richard Kwasniewski
2018) - Re: [WebDNA] add rows dynamically (Alex McCombie
2018) - [WebDNA] add rows dynamically (Richard Kwasniewski
2018) [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes][hideif [numfound]=3D0]
Sent from my iPhone> On Jun 13, 2018, at 4:03 PM, Richard Kwasniewski[/hideif][founditems] [hideif [index]=3D[numfound]][showif [index]\4] [/hideif][/showif][/founditems][/search] wr=ote:>=20> Thanks Ken.> Your version worked.>=20> Alex - your version made all the table cells vertical in one long column f=or 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 l=ong vertical column for all the table cells.>=20>=20>=20>=20>=20>=20>> On Wed, Jun 13, 2018 at 9:54 AM, Kenneth Grome w=rote:>> This is how I do it. It is the simplest possible code and it has>> always worked for me:>>=20>> [search]>> >>
>> [/search]>>=20>> There are only two possible issues here:>>=20>> 1- The [fieldname] field contains HTML tags that could screw up>> the dynamic table layout.>>=20>> 2- This code might put a blank line after the table that you may>> not want there for some reason.>>=20>> Regards,>> Kenneth Grome>> WebDNA Solutions>> http://www.webdnasolutions.com>> Web Database Systems and Linux Server Administration>>=20>>=20>>=20>> On 06/13/2018 08:32 AM, Alex McCombie wrote:>> >>>=20>> [founditems]>> [fieldname] >> [showif [index]\4][/showif]>> [/founditems]>>=20>> >>>> > [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]>> > [founditems]>> >
>> --------------------------------------------------------->> 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>=20> --------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing list talk@webdna.us To u=nsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/p=age.dna?numero=3D55 Bug Reporting: support@webdna.us--Apple-Mail-12E583AE-9BE6-468E-A6D7-4D06CC88002DContent-Type: text/html;charset=utf-8Content-Transfer-Encoding: quoted-printableI see why. The last hideif was suppos=ed to be within the last showif.>> > >> > >> > >> > [showif [index]\4][/showif]>> > [/founditems]>> > [/search]>> > Here=E2=80=99s co=rrected code.<table width=3D"100=%" border=3D"0" align=3D"center">[Search db=3Dadmin/kp.db&eqACTIVEdatarq=3D Yes]
[hideif [numfound]=3D0]<tr>[/hideif][founditems]
<td align=3D"center" width=3D"200">
<img src=3D"images/middle/[thumbnail]" border=3D="1"> [showif [index]\4]<=;/tr>
</td>[hideif [index]=3D[numfound]]<tr>[/hideif]=div>[/showif]
[/founditems]
[/search]
</table>Sent from my iPhone=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail-12E583AE-9BE6-468E-A6D7-4D06CC88002D--. Alex MccombieThanks Ken.Your version worked.=Alex - your version made all the table cells vertical i=n one long column for some weird reason. Not sure why.Might play w=ith yours a bit more to see if I was doing something wrong.Just t=ried it again carefully using your code and the same happened, one long vert=ical column for all the table cells.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leav=e@webdna.usarchives: http://www.w=ebdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.usOn Wed, Jun 13, 2018 at 9:54 AM, Kenneth Grome <=span dir=3D"ltr"><ken@webdnasolutions.com> wrote:This is how I do it. It is the simplest possible code and it h=as
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"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">
> </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-leav=e@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55 <=br>Bug Reporting: support@webdna.us
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:
Unexpected error (1997) Robert Minor duplicate mail (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) hiding links (1999) help with writefile (1998) [WriteFile] problems (1997) WebCat with WebTen (1998) [WebDNA] 4th of July (2008) Credit card arrangement (2005) remotely creating and populating a stock inventory db -almostthere! (1999) international time (1997) Logging purchases (1997) Protecting webdelivery (1997) exclamation mark... (1999) Alternating BGColors in Table Rows (1998) mail sent from webcatalog. accented chars! (1998) Add to Cart & List of Products (1997) [ShowNext] feature in 2.0 (1997) [WebDNA] Question for WSC ... (2008)