|
It seems to me that your information is reduntant. If you already have the quantity, why do you need another field to say if there are more items or not? The quantity field would be enough. Every time you check if the status field is 0 or 1, you could instead check if the quantity is 0 or >0, thereby eliminating the status field completely.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|