Hello, I am seeking assistance on a confounding problem. I am still learning Access, so any assistance is appreciated. I am trying to look up a value in a query from a table based on two criteria (column and row). I want to be able to run a query to return a depreciation value (like 50% or .5) of an asset based on its age and type.
Depreciation table has property type codes 1 to 7 being the column headers (corresponds with things like computers, furniture), with the most left column being years 1985 to 2019.
The inventory table has assets, that includes a column for year and a column for asset type code (1-7).
When I try this in a query I receive an error: Lookit: DLookUp("[inventory]!
Depreciation table has property type codes 1 to 7 being the column headers (corresponds with things like computers, furniture), with the most left column being years 1985 to 2019.
The inventory table has assets, that includes a column for year and a column for asset type code (1-7).
When I try this in a query I receive an error: Lookit: DLookUp("[inventory]!
Code:
","Depreciation","[year] = " & [inventory]![year])
Any help would be greatly appreciated. Thank you.