Hi,
as Dlookups seem to be the topic of the day i thought i would add my own. I have a dlookup which seems correct but doesnt bring out the correct result.
Lead Targets: DLookUp("[Leads]","[tblTargets2005]","[Week]='weekNumber'" And "[Branch_ID]='Branch'")
The bit im not so sure about is the and statement to add a second criteria.
The report should print each branch number out (209) with the targets according to the branch number and the week number. Problem is it only seems to return the first target value in the target table....and not actually lookup againt the branch value.....which is why im wondering if the and statement is correct
Cheeers
Mike
as Dlookups seem to be the topic of the day i thought i would add my own. I have a dlookup which seems correct but doesnt bring out the correct result.
Lead Targets: DLookUp("[Leads]","[tblTargets2005]","[Week]='weekNumber'" And "[Branch_ID]='Branch'")
The bit im not so sure about is the and statement to add a second criteria.
The report should print each branch number out (209) with the targets according to the branch number and the week number. Problem is it only seems to return the first target value in the target table....and not actually lookup againt the branch value.....which is why im wondering if the and statement is correct
Cheeers
Mike