hello everyone..I would be grateful if anybody could help me in performing subtraction from diffrent tables...
My Database has a Asset table which has opening balance and balance left coloums in it.and i have one store table which has received/issued item and its quantity.Wat i want to do is if i select receive in a combo box and enter the quantity it should be deducted /added from the opening balance and remaining should be displayed in balance quantity.Plzzz help me its Urgent
Manak
0
Newbie Poster
Recommended Answers
Jump to Posthmmm, where is the question? I don't know in what you have problem.
Jump to PostUpdate statement:
You should send the ID and the Value be deduction from the existing quantityUpdate Table Set Quantity = Quantity - @Value Where ID=@ID
All 5 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
Manak
0
Newbie Poster
Ramy Mahrous
401
Postaholic
Featured Poster
Manak
0
Newbie Poster
sknake
1,622
Senior Poster
Featured 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.