Hi forum, I have included in my code to append records to a table as the code Loops.
In the Immediate Window, the records show correctly with correct dates.
But the Appended Records all show as 30/12/1899
I am pretty sure this date is incorrect as I wasn't even born then although sometimes my children would have thought so
Here is the Insert into sql which results in 30/121899
yet this Debug.Print results in the correct Non US date
Appreciate any advice.
In the Immediate Window, the records show correctly with correct dates.
But the Appended Records all show as 30/12/1899
I am pretty sure this date is incorrect as I wasn't even born then although sometimes my children would have thought so

Here is the Insert into sql which results in 30/121899
Code:
sqlString = "INSERT INTO TblLateFeeCalculated ( LDPK, LateFeeAmount, LateFeeDate ) " & vbCrLf & _
"VALUES (" & LoanID & ", " & LateFeeNow & ", " & CommenceDate & ");"
DoCmd.RunSQL sqlString
yet this Debug.Print results in the correct Non US date
Code:
Debug.Print LoanID & " " & LateFeeNow & " " & CommenceDate
Appreciate any advice.
