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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishal DusaneRank #5,268 · 305 reputationPosted Jul 1, 2016, 4:30 AM EDT
if (count == 0)
{
obj.ID = 1;
}
else
{
obj.ID = count + 1;
}
ketan borsdiyaRank #2,258 · 624 reputationPosted Jul 1, 2016, 4:39 AM EDT
Carlos kambuiRank #2,642 · 528 reputationPosted Jul 1, 2016, 4:41 AM EDT
Carlos kambuiRank #2,642 · 528 reputationPosted Jul 1, 2016, 4:49 AM EDT
ketan borsdiyaRank #2,258 · 624 reputationPosted Jul 1, 2016, 4:49 AM EDT
Carlos kambuiRank #2,642 · 528 reputationPosted Jul 1, 2016, 4:57 AM EDT
ketan borsdiyaRank #2,258 · 624 reputationPosted Jul 1, 2016, 5:01 AM EDT