how do i save a date in date picker on a new page of a form

A

Anna

Im using microsoft outlook 2000 and have designed a new page on a task form.
I have used the Microsoft date & time picker from custom controls for the
start and due dates as the dates fields in field chooser dont have the date
picker drop down feature. When I enter dates in the date picker and then save
and close, and then re-open, none of the dates have saved, however when i use
the date fields from field chooser they do save. Does anyone know a way of
making these dates save ?
 
J

JackD

Anna said:
Im using microsoft outlook 2000 and have designed a new page on a task form.
I have used the Microsoft date & time picker from custom controls for the
start and due dates as the dates fields in field chooser dont have the date
picker drop down feature. When I enter dates in the date picker and then save
and close, and then re-open, none of the dates have saved, however when i use
the date fields from field chooser they do save. Does anyone know a way of
making these dates save ?

Add this code to the control (double click the control in design view to
show the code)

This sets the deadline based on whatever value you have picked with the
calendar control:

Private Sub Calendar1_Click()
ActiveProject.Tasks(1).Deadline = Calendar1.Value
End Sub

Edit as necessary to check for valid values etc.

-Jack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top