in a query, the general syntax for domain functions is:
Code:
Dfunction("[field]", "table", "criteria")
in code it's a bit different:
Code:
Dfunction("field", "table", "criteria")
The criteria section gives problems too. You are specifically missing some quotes and the brackets I think also need to be taken out. E.G. -
Code:
vcost = nz(
DLookup("amount", "FixtureCatalogueCostHistory",
"[Manufacturer] = '" & Me.Manufacturer & "'" & _
" and " & _
"[CatalogNumber] = '" & Me.CatalogNo & "'"), 0)
Also not sure if the lookup function is compatible with NULLS. You might have to use iif(iserror()) as a substitute but I doubt it.