Im a little stuck and I dont know what im doing wrong.
I want to insert the current date into a MS Access database in VB.
The part of the code im having trouble with is:
SQLString = "INSERT INTO Sales(DateSold) VALUES ("
SQLString += Date.Today & ")"
The type in the database is date and is dd/mm/year.
Thanks in advance for the help.
If you didn’t what to use the SQL NOW() you could wrap the date in quotes: