PaquettePaul
Member
- Local time
- Yesterday, 20:55
- Joined
- Mar 28, 2022
- Messages
- 107
I am converting data from an Excel table into access, and then going through the non normalized data and inserting data into proper tables. My problem is that a date is not converting properly.
The date is stored in the conversion table as a date - 05-15-21.
i include as a record set field “rs!InvoiceDate” in a comma separated VALUES list in my INSERT INTO statement.
The msg box of the text sql statement shows it as ”…, 5/15/2021, …
When I look at the inserted record in the Event table, the date is shown as 1899-12-30, and when clicked on, it shows the time as “12:00:14 AM”.
please, what do I have to change to fix this? I tried transferring the converted date to another date field before preparing the SQL text, but still the same.
The date is stored in the conversion table as a date - 05-15-21.
i include as a record set field “rs!InvoiceDate” in a comma separated VALUES list in my INSERT INTO statement.
The msg box of the text sql statement shows it as ”…, 5/15/2021, …
When I look at the inserted record in the Event table, the date is shown as 1899-12-30, and when clicked on, it shows the time as “12:00:14 AM”.
please, what do I have to change to fix this? I tried transferring the converted date to another date field before preparing the SQL text, but still the same.