G
Guest
I have an unbound object which looks up a date:
=DMax("[activitydate]","[tblportfolioactivity]","[portfolioid] = " &
[portfolioid] & " and [valuation] <> 0")
that part works. But then I want to look up the corresponding [valuation]
from that same record. I am trying:
=DLookUp("[valuation]","[tblportfolio]",(DMax("[activitydate]","[tblportfolioactivity]","[portfolioid] = " & [portfolioid] & " and [valuation] <> 0")))
but it doesn't work.
Thanks.
Al
=DMax("[activitydate]","[tblportfolioactivity]","[portfolioid] = " &
[portfolioid] & " and [valuation] <> 0")
that part works. But then I want to look up the corresponding [valuation]
from that same record. I am trying:
=DLookUp("[valuation]","[tblportfolio]",(DMax("[activitydate]","[tblportfolioactivity]","[portfolioid] = " & [portfolioid] & " and [valuation] <> 0")))
but it doesn't work.
Thanks.
Al