|
Hey all,
Im using Access 2002. I've got a database set up that keeps track of all the wastes in the plant. The wastes are divided by day, and then by type of product.
Right now all my reports give the results in lbs, as per what they have been input as. I'm trying to figure out how to convert all the lbs values into cost values.
I have a table set up [Product_Values] with the fields [Product], which is the products name as appearing in the main DB, and [Value] which is a manually input value for the $/lb of product.
I have a form with a large series of buttons on it that are used to open up the varying reports, so on this form I've been trying to add a checkbox or option button, which when clicked, will cause all the reports to report in $s instead of lbs.
Can anyone give me some advice on this? I know in Excel I would use something like VLOOKUP to compare the Database product name with the name of the product in my [Product_Values] table and from there get the value associated with it. I'm just unsure how to go about this in Access.
Thanks in advance :)
James
|