Can anyone help me out with why this isn't working
Code:connotemp = DLookup("CollectionRef", "Waste_collections", "[CustomerID]=" & tcompanyid And "[ConsignmentNoteNumber] = '" & Me.conno & "'")
CustomerID is an number and conno is a string
Thanks!