A
Ankit.Patel.UK
hey every1,
I have a form which is used for a receipt. The receipt contains the
following fields :
item id(drop down menu comes up with product Names)
quantity(amount of items wanted)
unit price (PROBLEM AREA, i have a field in my receipt which says 'unit
price', the problem i have is, i want the 'unit price' from the Items
Table, to appear and be stored in the 'unit price' field of the receipt
table depending on which item is chosen from the drop down menu in
'item id'. How would i go about doing this?
I also wanted to find out how would i make the quantity field change to
'1' when the user chooses an item from the drop down box because this
would help me entering the quantity value myself,everytime the
customer only buys 1 of any item.
This problem has been casuing me endless problems, your help would be
very generous.
I have a form which is used for a receipt. The receipt contains the
following fields :
item id(drop down menu comes up with product Names)
quantity(amount of items wanted)
unit price (PROBLEM AREA, i have a field in my receipt which says 'unit
price', the problem i have is, i want the 'unit price' from the Items
Table, to appear and be stored in the 'unit price' field of the receipt
table depending on which item is chosen from the drop down menu in
'item id'. How would i go about doing this?
I also wanted to find out how would i make the quantity field change to
'1' when the user chooses an item from the drop down box because this
would help me entering the quantity value myself,everytime the
customer only buys 1 of any item.
This problem has been casuing me endless problems, your help would be
very generous.