DTPicker VB6 event

I have a form with a datepicker on it.  I need some action is to be completed on this form as asson as I select the date.

Please take a look at the sample:

Private Sub dtpUnaudited_Click()
DatePickerEventPopulateCAControls CStr(dtpUnaudited.Value), "UNAUDITED"
End Sub

I have also tried dtpUnaudited_Change()

Neither of this events start  DatePickerEventPopulateCAControls routine.

Can somebody explain me why and help to resolve this issue?
AquarusAsked:
Who is Participating?
 
Brook BraswellApplication Development ManagerCommented:
the change should actually do what you want...
if you are having a problem then...
place a simple message box in each event so that you will know when it fires..


private sub dtpUnaudited_change()
   msgbox "you changed me to " & dtpUnaudited.value  
end sub
0
 
game-masterCommented:

good morning!

try this event...

Private Sub dtpUnaudited_CloseUp()
    DatePickerEventPopulateCAControls CStr(dtpUnaudited.Value), "UNAUDITED"
End Sub



i hope i can give u some idea...



game-master
0
 
AquarusAuthor Commented:
It helped. Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.