This is my code
Me.ProjectName = DLookup ("ProjectName", "[ProjectInfo]", "[ProjectInfo].ProjectNo = '" & Me.ProjectNumber & "'" And "[ProjectInfo].TaskNumber = '" & Me.TaskNumber & "'"
Everything is a text value.
I keep getting Type Mismatch
I looked at this thread 702-695680 and it suggest writting the code exactly the way I have. Can anyone help me solve this?
Me.ProjectName = DLookup ("ProjectName", "[ProjectInfo]", "[ProjectInfo].ProjectNo = '" & Me.ProjectNumber & "'" And "[ProjectInfo].TaskNumber = '" & Me.TaskNumber & "'"
Everything is a text value.
I keep getting Type Mismatch
I looked at this thread 702-695680 and it suggest writting the code exactly the way I have. Can anyone help me solve this?