This is what I got in the debugger:
***** /ceae/participante(enq1).php 2008-08-13 15:02:57
SELECT SQL_CALC_FOUND_ROWS participante.* FROM participante WHERE participante.tippart='E' AND participante.participante_id IN (SELECT participante_id FROM part_ent_xref WHERE entidad_id=3) LIMIT 1 OFFSET 0 =>Count=2
***** /ceae/participante(enq1).php 2008-08-13 15:04:06
SELECT SQL_CALC_FOUND_ROWS participante.* FROM participante WHERE ( participante.participante_id='30' ) LIMIT 1 OFFSET 0 =>Count=1
The first one is when I haven't selected any records (but all are openes when I hit 'read').
The second one is when I select one record and click 'read'.