I'm trying to create a part of my database that will allow me to increment or decrement items in inventory. I have a table (tbl_products) with two columns: item_number, and item_qty.
What I would like to do is have a form that will allow me to enter an item number, which would then add one to the appropriate line in the tbl_products table. In other words, if I have 10 of item_number 1234, and I enter "1234" again, the second column will reflect 11 in inventory.
I also need a second form that will do the reverse- decrement that line when the item_number is added.
I'l still very early in my understanding of VBasic, and I'm at a loss as to how to do this. Thanks in advance.
What I would like to do is have a form that will allow me to enter an item number, which would then add one to the appropriate line in the tbl_products table. In other words, if I have 10 of item_number 1234, and I enter "1234" again, the second column will reflect 11 in inventory.
I also need a second form that will do the reverse- decrement that line when the item_number is added.
I'l still very early in my understanding of VBasic, and I'm at a loss as to how to do this. Thanks in advance.