<div>Hi,</div><div><br></div><div>I&#39;m trying to iterate through a resultset from a MySQL query and although it&#39;s displaying the users as required when I click on the anchor it always deletes the last user in the list rather than the one selected:</div>
<div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>rs := slotquery rset.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>[rs next]</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>whileTrue:[ </div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>user:= rs valueNamed: &#39;name&#39;.</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>html text: user.</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>html anchor callback: [self deleteUser:user]; with:&#39; Delete&#39;.</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>html break.</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>].</div><div><br></div><div>It seems the anchor  callback always uses the last assignment to user, where am I going wrong ?</div>
<div><br></div><div>Thanks</div><div>jon</div>