Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21857

[RESOLVED] how to check a status of a product before selling it

$
0
0
i have a inventory where i purchase products
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)

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

Viewing all articles
Browse latest Browse all 21857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>