Can you figure out what's wrong with this code? I want to retrieve the ID that matches the date...
vchecklist = DLookup("fldchecklistid", "tblchecklist", "flddate = " & "#" & Me.txtdate & "#")
msgbox vchecklist
Kind regards,
Hans
vchecklist = DLookup("fldchecklistid", "tblchecklist", "flddate = " & "#" & Me.txtdate & "#")
msgbox vchecklist
Kind regards,
Hans