Neo90815
08-14-2000, 01:25 PM
Hi,
I have four command buttons on my Call Manager Form, each of them reside next to four lables with two fields each. Once user click on any of the four buttons it will pull up another form called Calendar, which has an Active-X Calendar and two fields called [Date] and [Time].
From my Call Manager Form the four lables are: Date, Acknowledge, Completed, and Promised; EACH lables has two fields [Date] and [Time]. These fields accept value from the Calendar form if user click Insert. The follow code shows the Event Procedure for the Insert Button from the Calendar Form.
****************************************
Private Sub Command17_Click()
[Form_Call Manager].Date = Form_Calendar.Date2.Value
[Form_Call Manager].DateTime = Form_Calendar.Time.Value
End Sub
*************************************
Questions; the above code works great with the first Labled "Date". But I can't figure out how to make it works for the rest of the lables and its fileds; Acknowledge, Promised, etc...
Please help. Thanks!
I have four command buttons on my Call Manager Form, each of them reside next to four lables with two fields each. Once user click on any of the four buttons it will pull up another form called Calendar, which has an Active-X Calendar and two fields called [Date] and [Time].
From my Call Manager Form the four lables are: Date, Acknowledge, Completed, and Promised; EACH lables has two fields [Date] and [Time]. These fields accept value from the Calendar form if user click Insert. The follow code shows the Event Procedure for the Insert Button from the Calendar Form.
****************************************
Private Sub Command17_Click()
[Form_Call Manager].Date = Form_Calendar.Date2.Value
[Form_Call Manager].DateTime = Form_Calendar.Time.Value
End Sub
*************************************
Questions; the above code works great with the first Labled "Date". But I can't figure out how to make it works for the rest of the lables and its fileds; Acknowledge, Promised, etc...
Please help. Thanks!