i hav a shopping cart in java he columns of jtable are
code-the item code
qty-the quantity enterd by the user
i want to update the quantity in database .the description of the table is
code -item code
stock-total stock in hand.
i need to to update the quantity by making te total stock lesser(i.e stock-qty) when i click the button finished shopping.
thankyou
angel sunflower
0
Newbie Poster
Recommended Answers
Jump to PostSo, what's the problem you are having?
Jump to Postthe best way would be to re-write your sql code. but correct, this time.
All 7 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
angel sunflower
0
Newbie Poster
angel sunflower
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
angel sunflower
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
angel sunflower
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.