Hi,
I'd like to share an issue that I have with a real annoying date format problem.
After upsizing a DB to SQLExpress 2014, all the date formats changed to: YYYY-MM-DD HH:MM:SS.
While the reasons are clear, the visual impact is not really friendly/what we are looking for.
The problem being that I'm having a "wonderful" time getting the date formats back to DD/MM/YYYY.
Typing dd/mm/yyyy in the format property has no effect!
I managed to change my date formats back to DD/MM/YYY using the below code:
Forms!MyForm!MyDate = Format(MyDate,"dd/mm/yyyy")
But the changes only lasted up until i click on any field in my form (then the formats go back to YYYY-MM-DD HH:MM:SS)
I've also tried: Forms!MyForm!MyDate.Controlsource = Format([MyDate],"dd/mm/yyyy"), and numerous other tests but all fall short.
I'm realy interested in knowing why the date format keeps returing back to the SQL property and if anything can be done to stop this.
It seems that SQLEXPRESS, through its OBDC connection, is dominating my project, but I cant understand why my settings are not holding after they have been changed.
I've never worked with an SQL backend before, so any feedback would be appreciated.
Thanks JMC,
I'd like to share an issue that I have with a real annoying date format problem.
After upsizing a DB to SQLExpress 2014, all the date formats changed to: YYYY-MM-DD HH:MM:SS.
While the reasons are clear, the visual impact is not really friendly/what we are looking for.
The problem being that I'm having a "wonderful" time getting the date formats back to DD/MM/YYYY.
Typing dd/mm/yyyy in the format property has no effect!
I managed to change my date formats back to DD/MM/YYY using the below code:
Forms!MyForm!MyDate = Format(MyDate,"dd/mm/yyyy")
But the changes only lasted up until i click on any field in my form (then the formats go back to YYYY-MM-DD HH:MM:SS)
I've also tried: Forms!MyForm!MyDate.Controlsource = Format([MyDate],"dd/mm/yyyy"), and numerous other tests but all fall short.
I'm realy interested in knowing why the date format keeps returing back to the SQL property and if anything can be done to stop this.
It seems that SQLEXPRESS, through its OBDC connection, is dominating my project, but I cant understand why my settings are not holding after they have been changed.
I've never worked with an SQL backend before, so any feedback would be appreciated.
Thanks JMC,