Re: [WebDNA] add rows dynamically
This WebDNA talk-list message is from 2018
It keeps the original formatting.
numero = 114297
interpreted = N
texte = 1906--00000000000035c8e7056e8bd863Content-Type: text/plain; charset="UTF-8"Content-Transfer-Encoding: quoted-printableYep, your code works now too.On Wed, Jun 13, 2018 at 3:23 PM, Alex Mccombie
wrote:> I see why. The last hideif was supposed to be within the last showif.>> Here=E2=80=99s corrected code.>>> >> [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]> [hideif [numfound]=3D0][/hideif]> [founditems]> > > | > [showif [index]\4]
> [hideif [index]=3D[numfound]][/hideif]> [/showif]> [/founditems]> [/search]>
>>>>> Sent from my iPhone>> On Jun 13, 2018, at 4:03 PM, Richard Kwasniewski > wrote:>> 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]>> [fieldname] | >> [showif [index]\4]
[/showif]>> [/founditems]>>>>
>>
>> [/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=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]>> > [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=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.u=s>> --------------------------------------------------------- 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.u=s>--00000000000035c8e7056e8bd863Content-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printableYep, your code works now too.