C
Cabby
This procedure in the CustomerCars form works but in the CarDetails form
it doesn't. The inner If statement is strictly for debugging purposes.
Program halts at intTest1 = Year(dteTest1). When I do a cursor
passover of this line, I see the following: intTest1=0, and
Year(dteTest1)=<Type mismatch>.
I have recently re-installed Access 2000. There are 4 references
selected.
Can anyone help?
TIA
Cabby
Private Sub txtPlateYear_AfterUpdate()
If Not Me!cboPlateMonth = "" Then
Me!Plate_expire = ExpiryDate(Me!cboPlateMonth, Me!txtPlateYear)
If IsDate(Me!Plate_expire) Then
dteTest1 = Me!Plate_expire
intTest1 = Year(dteTest1)
End If
Me!txtPlateYear = Year(Me!Plate_expire)
End If
End Sub
it doesn't. The inner If statement is strictly for debugging purposes.
Program halts at intTest1 = Year(dteTest1). When I do a cursor
passover of this line, I see the following: intTest1=0, and
Year(dteTest1)=<Type mismatch>.
I have recently re-installed Access 2000. There are 4 references
selected.
Can anyone help?
TIA
Cabby
Private Sub txtPlateYear_AfterUpdate()
If Not Me!cboPlateMonth = "" Then
Me!Plate_expire = ExpiryDate(Me!cboPlateMonth, Me!txtPlateYear)
If IsDate(Me!Plate_expire) Then
dteTest1 = Me!Plate_expire
intTest1 = Year(dteTest1)
End If
Me!txtPlateYear = Year(Me!Plate_expire)
End If
End Sub