Hi,
I was using Access 2000 and WindowsMe. I have
installed it with WindowsXp and I have encountered the following error :
In a form, I have a date field with date() as default. When I was pressing the minus key or the + key, the date was changing with one day. Now it doesn't work anymore ; when pressing the plus key or the minus key, I have a "+" or a "-" .
This is the code
Private Sub XDATE_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 107 Then
Me![XDATE] = Me![XDATE] + 1
ElseIf KeyCode = 109 Then
Me![XDATE] = Me![XDATE] - 1
End If
The only difference between the version of my database using WindowsMe and WindowsXp
is the "References " ;
With WindowsMe I was using Microsoft Vba extensibility 6 and now I am using Microsoft
Vba extensibility 5.3.
But I don't know if this is the reason why it doesn't work anymore.
Thanks for help.
Daniel
I was using Access 2000 and WindowsMe. I have
installed it with WindowsXp and I have encountered the following error :
In a form, I have a date field with date() as default. When I was pressing the minus key or the + key, the date was changing with one day. Now it doesn't work anymore ; when pressing the plus key or the minus key, I have a "+" or a "-" .
This is the code
Private Sub XDATE_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 107 Then
Me![XDATE] = Me![XDATE] + 1
ElseIf KeyCode = 109 Then
Me![XDATE] = Me![XDATE] - 1
End If
The only difference between the version of my database using WindowsMe and WindowsXp
is the "References " ;
With WindowsMe I was using Microsoft Vba extensibility 6 and now I am using Microsoft
Vba extensibility 5.3.
But I don't know if this is the reason why it doesn't work anymore.
Thanks for help.
Daniel