Octothorpes Syntax Error ?

burrina

Registered User.
Local time
Today, 16:24
Joined
May 10, 2014
Messages
972
Can't see the forest because of the trees again.
What am I missing here? I get a syntax error on the ,
PHP:
Me.NoAllowDate.DefaultValue = "#" & ("[txtday]", "tblCompany") & "#"


Correct Code:
PHP:
 Me.NoAllowDate.DefaultValue = "#" & DLookup("[txtday]", "tblCompany") & "#"
 
Last edited:
Most likely you are missing a function call:

("[txtday]", "tblCompany")

What are those parenthesis for?
 
Juts confused myself on the syntax is all.
 

Users who are viewing this thread

Back
Top Bottom