Date Time Picker

S

Sokrat Saydahmat

Hi,

I am using a Date Time Picker in Outlook appointment page(2), it is bounded
to a field that has a Date/Time format. The problem is when I saved an
appointment with the date using Date Time Picker, it seems accepted the date
value, but when I reopen it the Date Time Picker does not populate the
fields value. From "design form" under "User Defined Field in This Item" I
can see the value in that Date field, but it is not associated to the
Control.

Could any one help me to solve this problem?

Thakns,
Sokrat.
 
G

Guest

That is odd. Even after specifying "Default" as the "Property to use" value
on the Value tab of the control's Properties page, it still doesn't display.

I had to add this code to the form to get it to display:

Function Item_Open()
Item.GetInspector.ModifiedFormPages("P.2").Controls("DTPicker1").Value =
Item.UserProperties("Testdate").Value
End Function

BTW, there is a dedicated microsoft.public.outlook.program_forms group for
these questions.
 
K

Ken Slovak - [MVP - Outlook]

You always have to set the DTPicker to the value you want it to show.
Usually in Item_Open() from a user prop.
 

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