Unfortunately the date is being entered into the table in the incorrect format and I can't work out why. My regional setting son the computer are set to the proper format (dd/mm/yyy) and when I set the text box to short date is shows up in that format. The change seems to be occurring when the SQL query runs. For reference the SQL query is:
CODE
strSql = "UPDATE tblFirefighters SET tblFirefighters.Competency = Yes, tblFirefighters.CompDate = #" & dtCompDate & "#"
strSql = strSql & " WHERE (((tblFirefighters.RegNo)= " & lngRegNo & "))"
DoCmd.RunSQL strSql
strSql = strSql & " WHERE (((tblFirefighters.RegNo)= " & lngRegNo & "))"
DoCmd.RunSQL strSql
Can anyone tell why this is happening and what I can do to correct it?