I hae attached a database. If you open form fdatrecinventory and fill in the date, select item, enter Qty in first field and selct Liter for example it fills in all fields.
In the VDCode it should insert the Date, Item, QtyInserted, Cost into table tdatInventoryRec.
Problem is I get an error...