norburao01
Registered User.
- Local time
- Today, 11:27
- Joined
- Jul 16, 2019
- Messages
- 12
[Solved] How to reference a value from a query in a form
Hi All,
I'm making a form to view and update components on a project.
The majority of the information is in one table called 'component list', however a component can include pre-bought parts, these pre bought parts are used a lot of time so I have made another table for these, named 'common products list' this way i can reference the 'common products list' instead of keeping entering the information over and over again.
The issue I'm having is coming when trying to find the overall cost of each component, as I have to do a sum of the component cost itself (from component list table) and of the pre-bought part (from the common products list table) that will be used on that component.
I tried to solve this by making a query, with columns for the component ID, the component and the pre-bought part cost with a sum column. (shown in attachment)
This worked but I don't know how to show this sum on the corresponding form.
Any help for how I can show this, Overall cost value of the component on the corresponding components form, would be greatly appreciated.
Apologies, know I might not have used all the correct terms I'm still quite new to using access.
Thanks
Hi All,
I'm making a form to view and update components on a project.
The majority of the information is in one table called 'component list', however a component can include pre-bought parts, these pre bought parts are used a lot of time so I have made another table for these, named 'common products list' this way i can reference the 'common products list' instead of keeping entering the information over and over again.
The issue I'm having is coming when trying to find the overall cost of each component, as I have to do a sum of the component cost itself (from component list table) and of the pre-bought part (from the common products list table) that will be used on that component.
I tried to solve this by making a query, with columns for the component ID, the component and the pre-bought part cost with a sum column. (shown in attachment)
This worked but I don't know how to show this sum on the corresponding form.
Any help for how I can show this, Overall cost value of the component on the corresponding components form, would be greatly appreciated.
Apologies, know I might not have used all the correct terms I'm still quite new to using access.
Thanks
Attachments
Last edited: