In Access you could use the Dlookup function.