Hi François<br />
There is another way to do this :<br />
The steps 1, 2 and 3 are the same. <br />
Step 4 : for your data block property, in the Advanced database node, in the DML_DATA_TARGET_NAME property, specify the table name (in your example EMP)<br />
Step 5 : for your item total, put the QUERY ONLY property to yes<br />
And that's all, you don't have to write any code.