<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>17 Jul 2017 14:28:11 Z</lastBuildDate><pubDate>13 Jul 2017 17:33:00 Z</pubDate><description>Hello developers!&#13;
&#13;
I take a little of their time to see if they can give me a hand on a problem that I have been locked into for some time.&#13;
&#13;
About 6 months ago I am learning and developing a project in WEBDEV at the same time. In this case a PHP project. So there are processes on some elements (tables, loopers for example) in which I burn a time to implement.&#13;
&#13;
The question is this: I have a 'classic' looper which is loaded by means of a query, this looper is in the field of a browser that works with the behavior of a pop-up window. Each time I open this window depending on the parameter you send me will show different registers.&#13;
&#13;
Inside the controls the looper has a button. This button in the 'on click' action (which does not have AJAX mode enabled) has this code in the PHP-Server section:&#13;
&#13;
sRuta is string&#13;
HReadSeekFirst(d010_evidencias,Id_Evidencia,QRY_listaEvidencias.ATT_Id_Evidencia)&#13;
&#13;
IF HFound(d010_evidencias) = True THEN&#13;
sRuta = LOOP_QRY_listaEvidencias[ATT_Id_Evidencia].STC_RutaArchivo&#13;
FileDisplay(sRuta,"application/unknown"&#13;
END&#13;
&#13;
In my database I have stored the physical route which when I execute the query the dump in an STC Control (STC_RutaArchivo).&#13;
&#13;
The problem is that when I run FileDisplay and show in a new tab the document (for example a .pdf) Always shows me the document associated with the last record loaded in the looper.&#13;
&#13;
Do you know what the error is? By what he understood to identify the position of an element within the control looper is made use of "[]".&#13;
&#13;
I have to say that I also did this test of working with buttons inside another element like the 'table control' setting the column as a '' container '' type but I was not lucky, which is why I am looking to implement it this way (using a looper control).&#13;
&#13;
I hope they can guide me.&#13;
Greetings.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper/read.awp</link><title>[WB20] Problem in the action of a button inside a LOOPER</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61784/read.awp</comments><pubDate>17 Jul 2017 14:28:11 Z</pubDate><description>Hi again&#13;
&#13;
sorry, but I cannot help you with the php part, as I NEVER use that mode.&#13;
&#13;
It is much more limited in many ways th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61784/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61784/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper/read.awp">[WB20] Problem in the action of a button inside a LOOPER</source><title>Re: [WB20] Problem in the action of a button inside a LOOPER</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61767/read.awp</comments><pubDate>14 Jul 2017 14:05:00 Z</pubDate><description>Hi, Fabrice.&#13;
&#13;
Good to cross you over here! Look, you know I tried to develop this in a Table Control and I have not had succes…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61767/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61767/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper/read.awp">[WB20] Problem in the action of a button inside a LOOPER</source><title>Re: [WB20] Problem in the action of a button inside a LOOPER</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61763/read.awp</comments><pubDate>13 Jul 2017 19:50:00 Z</pubDate><description>Hi Ezequiel,&#13;
&#13;
it seems that ATT_ID_Evidencia is an attribute from the looper, which is good. What is NOT good is that you are …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61763/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper-61763/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61746-wb20-problem-action-button-inside-looper/read.awp">[WB20] Problem in the action of a button inside a LOOPER</source><title>Re: [WB20] Problem in the action of a button inside a LOOPER</title></item></channel></rss>
