am generating sales summarry where by i have ,product_id, Description and qnty now i want if product_id > 1 it add to qnty
urgent one pliz i.e product_id(1,2,2,3,4,5,2,6,) the qnty to be 3
urgent one pliz
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ketan borsdiyaPosted Jul 1, 2016, 9:01 AM
Carlos kambuiPosted Jul 1, 2016, 8:57 AM
ketan borsdiyaPosted Jul 1, 2016, 8:49 AM
Carlos kambuiPosted Jul 1, 2016, 8:49 AM
Carlos kambuiPosted Jul 1, 2016, 8:41 AM
ketan borsdiyaPosted Jul 1, 2016, 8:39 AM
Vishal DusanePosted Jul 1, 2016, 8:30 AM
if (count == 0)
{
obj.ID = 1;
}
else
{
obj.ID = count + 1;
}