I have code that I've used before to automatically insert the current date
and time into text boxes when a user clicks in the box, like this:
Private Sub txtDate_GotFocu s()
txtDate = Date
End Sub
Private Sub txtTime_GotFocu s()
txtTime = Time
End Sub
When I try to use this code in a form that is a derivative of the Visual
Data Manager get error message "Procedure declaration does not match
description of event or procedure having the same name". When I get the
property of the event directly from the combo box, it becomes GotFocus(Index
As Integer), but I keep getting Invalid Use of Property errors.
I see four properties for the event (Count, Item, Lbound, Ubound), should I
be using one of these?
and time into text boxes when a user clicks in the box, like this:
Private Sub txtDate_GotFocu s()
txtDate = Date
End Sub
Private Sub txtTime_GotFocu s()
txtTime = Time
End Sub
When I try to use this code in a form that is a derivative of the Visual
Data Manager get error message "Procedure declaration does not match
description of event or procedure having the same name". When I get the
property of the event directly from the combo box, it becomes GotFocus(Index
As Integer), but I keep getting Invalid Use of Property errors.
I see four properties for the event (Count, Item, Lbound, Ubound), should I
be using one of these?
Comment