I have a downloaded Access template I am trying to use. I am having a problem tying to add to the query. I am still learning so any help would be great. The SQL follows.
SELECT DISTINCTROW [Workorder Parts].WorkorderID, Sum([Quantity]*[UnitPrice]) AS [Parts Total]
FROM [Workorder Parts]
GROUP BY [Workorder Parts].WorkorderID;
I added a discount Field in a table, and a form to insert which parts I want to have the discount added to. Now I need to be able to subtract the percentage discount from the [Parts Total] Field and display it in the query. I then need to pull the query into the form where it shows the [Parts Total].
Thanks for your help in advance, and let me know if there is anything else you need.
Thanks,
Brian
SELECT DISTINCTROW [Workorder Parts].WorkorderID, Sum([Quantity]*[UnitPrice]) AS [Parts Total]
FROM [Workorder Parts]
GROUP BY [Workorder Parts].WorkorderID;
I added a discount Field in a table, and a form to insert which parts I want to have the discount added to. Now I need to be able to subtract the percentage discount from the [Parts Total] Field and display it in the query. I then need to pull the query into the form where it shows the [Parts Total].
Thanks for your help in advance, and let me know if there is anything else you need.
Thanks,
Brian
Comment