Can't see the forest because of the trees again.
What am I missing here? I get a syntax error on the ,
Me.NoAllowDate.DefaultValue = "#" & ("[txtday]", "tblCompany") & "#"
Correct Code:
Me.NoAllowDate.DefaultValue = "#" & DLookup("[txtday]", "tblCompany") & "#"