Hi,
Does anyone know if it's possible to have two criteria in a dlookup statement? I want to check if a financial statement matches two criteria: a date and the name of a client.
Can I do something like this below where I'm taking from a StatementType field in a Report table only the records that match Date and Client criteria. The Date and Client fields are controls on my form.
DLookup("[StatementType]", "Reports", "[Date] = " &
Date & "[Client] = " & Name)
Is this possible? I haven't been able to get it to work.
Thanks,
mishmish
Does anyone know if it's possible to have two criteria in a dlookup statement? I want to check if a financial statement matches two criteria: a date and the name of a client.
Can I do something like this below where I'm taking from a StatementType field in a Report table only the records that match Date and Client criteria. The Date and Client fields are controls on my form.
DLookup("[StatementType]", "Reports", "[Date] = " &
Date & "[Client] = " & Name)
Is this possible? I haven't been able to get it to work.
Thanks,
mishmish