Checked the cause of the error in the application, as per checking, the cause is that the query is extracting data with the same name and sub dept, modified the query and add the group by in the select statement, tested the modified application, as per checking, it is now OK. send the exe to sir Law for checking and updating on their side.