Hi All,
I am having a peculier problem. I have declared a variable as say
Dim strRunDate As Date
and assigning it as :
strRunDate = Format(Me.txtDate.Value, "dd/mm/yy")
when i am running this,
the initail value for strRunDate is showing as : 12:00:00 am.
and after executing the assignment statement,
if the value for Me.txtDate.Value is 27/08/2008 then it's showing the value 08/08/2017 where as it should be as 27/08/2008.
This is an existing cod ein production and in teh production version from other's machine it's working fine. When i am copying that version to my m/c, i am getting this problem.
I am getting no clue to this problem.
Please can any one advice me on this.
Many thanks in advance.
Regards,
Babu
I am having a peculier problem. I have declared a variable as say
Dim strRunDate As Date
and assigning it as :
strRunDate = Format(Me.txtDate.Value, "dd/mm/yy")
when i am running this,
the initail value for strRunDate is showing as : 12:00:00 am.
and after executing the assignment statement,
if the value for Me.txtDate.Value is 27/08/2008 then it's showing the value 08/08/2017 where as it should be as 27/08/2008.
This is an existing cod ein production and in teh production version from other's machine it's working fine. When i am copying that version to my m/c, i am getting this problem.
I am getting no clue to this problem.
Please can any one advice me on this.
Many thanks in advance.
Regards,
Babu