Hello,
I have created a database with multiple tables in Access 2013. i have had no problems getting the relationships for the drop boxes set up. Where i am struggling is getting a unit price from one table, to be multiplied with a entered quantity in a fox text box to create a total that would be recorded into the main table. hopefully i can explain this right.
I have a table named "universal log" with a form named "Universal Log Form" which records information into the before mentioned named table. The "universal log form" has a text box titled "part number". When a part number is typed into the box it pulls information from a table named "masterpricelist." It is taking the material description and the unit price and populating it into boxes named "material description" and "unit cost" on the "universal log form" respectively. This is all working perfectly.
My problem comes in when i try to get a calculation for the "total cost" This used to work when the unit cost had to be entered into the form manually. Then it was just a simple calculated default value that took the value entered into the "QTY (pcs)" box and the "unit cost" field and multiplied them and the result was placed into the user form field "total cost".
My question is how do i get the auto populated value from the "unit price" form box to multiply with the manually entered "QTY (pcs)" value and record onto the user form for the "total cost" which would then be recorded into the total cost field of the "universal log" table? It is giving me issues because i can not create a default value in the "universal Log" that uses a field existing in a different table, in this case the "masterpricelist" table.
Please help, this has been driving me crazy and I'm due to present this early next week on 6/22/15
I have created a database with multiple tables in Access 2013. i have had no problems getting the relationships for the drop boxes set up. Where i am struggling is getting a unit price from one table, to be multiplied with a entered quantity in a fox text box to create a total that would be recorded into the main table. hopefully i can explain this right.
I have a table named "universal log" with a form named "Universal Log Form" which records information into the before mentioned named table. The "universal log form" has a text box titled "part number". When a part number is typed into the box it pulls information from a table named "masterpricelist." It is taking the material description and the unit price and populating it into boxes named "material description" and "unit cost" on the "universal log form" respectively. This is all working perfectly.
My problem comes in when i try to get a calculation for the "total cost" This used to work when the unit cost had to be entered into the form manually. Then it was just a simple calculated default value that took the value entered into the "QTY (pcs)" box and the "unit cost" field and multiplied them and the result was placed into the user form field "total cost".
My question is how do i get the auto populated value from the "unit price" form box to multiply with the manually entered "QTY (pcs)" value and record onto the user form for the "total cost" which would then be recorded into the total cost field of the "universal log" table? It is giving me issues because i can not create a default value in the "universal Log" that uses a field existing in a different table, in this case the "masterpricelist" table.
Please help, this has been driving me crazy and I'm due to present this early next week on 6/22/15