downandout
Technical User
I am very,very much a beginner this is what I have:
table1 for products(code,name,unit cost,etc)
table2 for sales(code,dates,amounts,etc)
What I would like to do:use a form to enter each sale(code,weight,cost etc) , having got unit costs from table1 (using a query?),calculated the sale and write this as a record to table2.
I know how create forms,queries,tables, what relationships and subforms are , do not know sql.
If I use a query to get the unit cost , how do I pass this to the form? and where do I do the calculation ? How do I make the form always add a new record to table2.
table1 for products(code,name,unit cost,etc)
table2 for sales(code,dates,amounts,etc)
What I would like to do:use a form to enter each sale(code,weight,cost etc) , having got unit costs from table1 (using a query?),calculated the sale and write this as a record to table2.
I know how create forms,queries,tables, what relationships and subforms are , do not know sql.
If I use a query to get the unit cost , how do I pass this to the form? and where do I do the calculation ? How do I make the form always add a new record to table2.