Saif,
Are all other fields in SisUb equal for the same SiNo and ICode?
i.e. when You have two records for one ICode and SiNo, all fields (except QntyMin, QntyMax) are the same?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.