If (Me.txt_EnterDate.Value) > lst_GetLastDate.Column(0) Then
at run time, when i have the next line on breakpoint, and put the mouse pointer over it (the above line), this shows;
Me.txt_EnterDate.Value = "30/12/2008"
but the next time round if i display calender and choose date 30/12/2008
the code does not go into
If (Me.txt_EnterDate.Value) > lst_GetLastDate.Column(0) Then
because, it shows this time (with mouse over it);
Me.txt_EnterDate.Value = 30/12/2008
Why might it be without the "" around the date?
Thanks for replies
at run time, when i have the next line on breakpoint, and put the mouse pointer over it (the above line), this shows;
Me.txt_EnterDate.Value = "30/12/2008"
but the next time round if i display calender and choose date 30/12/2008
the code does not go into
If (Me.txt_EnterDate.Value) > lst_GetLastDate.Column(0) Then
because, it shows this time (with mouse over it);
Me.txt_EnterDate.Value = 30/12/2008
Why might it be without the "" around the date?
Thanks for replies