Hello,
I am attempting to insert records into an Access table using the SQLExec() command... All was well until I attempted to insert a record to an Access table with a Date/Time field. Does anyone know the format for sending date/time values to Access?
I have tried:
? SQlExec( con, "Insert into events (Date) values (‘01/01/01’ )" )
? SQlExec( con, "Insert into events (Date) values (‘01/01/2001’ )" )
? SQlExec( con, "Insert into events (Date) values ( 01-01-2001 )" )
etc…
Thanks in advance for any help,
Rich.
I am attempting to insert records into an Access table using the SQLExec() command... All was well until I attempted to insert a record to an Access table with a Date/Time field. Does anyone know the format for sending date/time values to Access?
I have tried:
? SQlExec( con, "Insert into events (Date) values (‘01/01/01’ )" )
? SQlExec( con, "Insert into events (Date) values (‘01/01/2001’ )" )
? SQlExec( con, "Insert into events (Date) values ( 01-01-2001 )" )
etc…
Thanks in advance for any help,
Rich.