"Treebeard" <(E-Mail Removed)> wrote in message
news:JZydnXDCr8MenieiRVn-(E-Mail Removed)...
> Try
>
> DLookup("[Sub-Department]", "[QRY Employees]", "[Payroll No] = "
> & Forms![FRM Jobs]![Payroll No])
>
>
>
It works dammit!!!
I found this confusing because the first part of the query worked if I
simply put something like this
DLookup("Sub-Department", "QRY Employees", "[Payroll No] = 10")
Which would put 10 into the field, but then adding the field search also
required the [] brackets as you pointed out...
Thanks again

K