Hello,
I have two tables; producten and voorraad.
'producten':
- product [Xerox Q6003A]
- barcode [82160412443]
'voorraad':
- product
- barcode
- aantal
On the add page from the table 'voorrraad' I have one field called 'barcode'.
When I type a barcode (82160412443), it must lookup the table 'producten' for this barcode. When it's existing in this table, it must get the "product-title" (product).
When it has those 2 values, he must insert those values in the table 'voorraad' and count 1 in the field 'aantal'.
If I repeat this, it must multiply 'aantal' with +1.
I have tried everything, but can't get it to work.
Do you have a solution?