> can i include the idclient client in my first query
Directly in your SQL query... I don't think so. But you can do a join between the result cursor of the SQL query and your second query.
> and after use my cursor in the next select ????
Yes it's possible... like I said below... to do a join between both queries.