
Signature
Regards
Jeff Boyce
<Office/Access MVP>
> I have a table "Flint Operations" which contains the "Task" field. When the
> "Task" is equal to "Cabs Produced" I want the value. I have another table
[quoted text clipped - 4 lines]
> saying "Number of Defects per Cab:". How do I get the report to grab the
> value of the "Cabs Produced" from that table for that particular date?
Jeff,
I am trying to use that function, but coming up with an error. I have tried
writing it as follows:
=DLookup ([Actual], tblFlintOperations, [Task] = "Cabs Produced")
I just get an error #.
> Mandy
>
[quoted text clipped - 11 lines]
> > saying "Number of Defects per Cab:". How do I get the report to grab the
> > value of the "Cabs Produced" from that table for that particular date?
John Spencer - 06 Dec 2005 16:41 GMT
Syntax error.
The arguments to DLookup should all be strings. So your would need
something like:
=DLookup ("Actual"," tblFlintOperations", "Task = ""Cabs Produced""")
or
=DLookup ("Actual"," tblFlintOperations", "Task = 'Cabs Produced' ")
> Jeff,
>
[quoted text clipped - 26 lines]
>> > the
>> > value of the "Cabs Produced" from that table for that particular date?