I am having a sell page that contains TextField with the name quantity.
I want to check if the input quantity by the user is greater than the quantity in the database.
Is there any recommendation on how to do it?
Any recommendation is appreciated.
Thanks from now.
It mostly depends on how you organize data in your application.Assuming that you have a table with goods inventory, and another table for registered orders, available items are given by count of goods on inventory table minus the count of registered orders.
You have to query your db, using ipa or directly via jdbc
Hang a left on main. Then read this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners