There is another way to do this :
The steps 1, 2 and 3 are the same.
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)
Step 5 : for your item total, put the QUERY ONLY property to yes
And that's all, you don't have to write any code.
Francois Degrelle10/11/2006 13:53
Yes sebastian, if the query is about a single table, you are right ;o)Thanks for the tip.