IN Table1----sale_amt and in table2-----collection_amt.group by sale_id i want to sum collection_amts.
i got a solution for this.
This Query solution is assigned to listbox.
but i want in the same query ---------if sumofcollection_amts is equal to sale_amt. that record don't show in the listbox. if those are unequal only shown in listbox . HOw?
is it possible in the same query.
or
i tried one more method. code written in form_load
for i=0 to listbox.listcount
if listbox.column(6,i) ie.,sale_amt=listbox.column(7,i) i.e., sumofcollectionamt then
listbox.removeitem i
end if
but it gives error . listbox rowsoucetype is changed to valuelist. when i change also not working how?
Please give soultion as early as possible. which is possible first method or second method