i have a inventory where i purchase products
i have a combobox like this
now i have a cashregister which i can choose from those products
how do i check the name of the value in the database is "Not delivered yet,On Hold,Canceled,Delivered"?
so if its On Hold i cant sell it
only if its delivered then i can sell it
if any info is needed i will add
i have a combobox like this
Code:
CmbStat.AddItem "Not delivered yet"
CmbStat.AddItem "On Hold"
CmbStat.AddItem "Canceled"
CmbStat.AddItem "Delivered"
the name of the value in the table is InvStatus the table name is inventory and the
subitem is CmbStat.text = Trim(.SubItems(19)) (dont no if it's necessary here)
how do i check the name of the value in the database is "Not delivered yet,On Hold,Canceled,Delivered"?
so if its On Hold i cant sell it
only if its delivered then i can sell it
if any info is needed i will add