I've had a quick search but couldn't find anything specific to my query.
I'm trying to run a query but if one of the fields from the query returns null I want it to check a field in another table and populate it with that value if 2 dates match.
I have this as an expression in the query:
I'm not sure whether I'm going about this the right way so any advice is appreciated.
tia
I'm trying to run a query but if one of the fields from the query returns null I want it to check a field in another table and populate it with that value if 2 dates match.
I have this as an expression in the query:
Code:
New: IIf([New Tariff] Is Null,DLookUp("[Gprs Tariff]","[MobileDataDump Sheet 1]","#[MPN Level]![Ordered Date]#"="#[MobileDataDump Sheet 1]![Contract Start Date]#"),[New Tariff])
I'm not sure whether I'm going about this the right way so any advice is appreciated.
tia
Last edited: