I'm sure this problem has come up before, but I have looked and can't seem to find the answer.
What I need is a way to take a date entered into Access and swap it around so that it goes into MySQL properly. I suspect it'd be a subprocedure or global function.
I am using a pop-up calendar for date input. It puts the date in as dd/mm/yy but mysql expects yyyy-mm-dd, so when I enter, say 15/04/08 it goes into mysql as 2015-04-08. It comes back out fine (Access sees the date as it is stored in MySQL, it's just going in wrong), so I need to sanitise my data somehow.
Any suggestions?
What I need is a way to take a date entered into Access and swap it around so that it goes into MySQL properly. I suspect it'd be a subprocedure or global function.
I am using a pop-up calendar for date input. It puts the date in as dd/mm/yy but mysql expects yyyy-mm-dd, so when I enter, say 15/04/08 it goes into mysql as 2015-04-08. It comes back out fine (Access sees the date as it is stored in MySQL, it's just going in wrong), so I need to sanitise my data somehow.
Any suggestions?