4
4Ankit
I am having trouble with my invoice form. Basically my invoice form
consists of a subform(which includes invoice details such as which
products are brought, quantity and price)Outside this invoice form
consists of customer details, employee creating invoice and subtotal
for the invoice. The problem i am having is with the subform, i have
added the appropriate fields to the subform such as my invoice details
table(consisting of invoice id, line number, product id(drop down menu
to find the product) ,quantity field and price field. I want the price
field to show the price of the product when chosen from the product id
column. The price of the product is in the field('retail price' in the
stock table). How would i go about getting this price into my subform?
So when i click which product id the price will show up next to it.
Below is the 'invoice master table' and 'invoice details table'
attributes
'invoice master table'
PK: invoiceID, invoicedate, empno, custno
'invoice details table'
PK InvoiceID, PK LineNumber, ItemID, Quantity, Price( i want this field
to have the price according to the ItemID in the stock table, the field
to reference is 'retailprice' in stock table)I am having a problem with
the price field.
All help would be much appreciated.
consists of a subform(which includes invoice details such as which
products are brought, quantity and price)Outside this invoice form
consists of customer details, employee creating invoice and subtotal
for the invoice. The problem i am having is with the subform, i have
added the appropriate fields to the subform such as my invoice details
table(consisting of invoice id, line number, product id(drop down menu
to find the product) ,quantity field and price field. I want the price
field to show the price of the product when chosen from the product id
column. The price of the product is in the field('retail price' in the
stock table). How would i go about getting this price into my subform?
So when i click which product id the price will show up next to it.
Below is the 'invoice master table' and 'invoice details table'
attributes
'invoice master table'
PK: invoiceID, invoicedate, empno, custno
'invoice details table'
PK InvoiceID, PK LineNumber, ItemID, Quantity, Price( i want this field
to have the price according to the ItemID in the stock table, the field
to reference is 'retailprice' in stock table)I am having a problem with
the price field.
All help would be much appreciated.