Hello,
i need to write data in cmd , basically i a writing dsquery in cmd and in cmd i am passing variable from excel.
here is the code

simply will read from database and pass variable to query and write it in cmd.
but from out of nowhere it is writing 1 query 3 times with same variable in cmd like below
how it is getting same variable ?
where i am going wrong it suppose to go to next row even before that need to write cls and then need to go to next row.
what is the issue.
i am using use application browser for cmd inside block user input.
help me on same



